I'm working on a new mockup today, and this CSS3 gradient generator has come in extremely handy.
Some sample code I'm working with:
#sidebar div{
background-image: -webkit-gradient(
linear,
left top,
right top,
color-stop(0.13, rgb(245,245,245)),
color-stop(0.57, rgb(250,250,250)),
color-stop(0.79, rgb(255,255,255))
);
background-image: -moz-linear-gradient(
left center,
rgb(245,245,245) 13%,
rgb(250,250,250) 57%,
rgb(255,255,255) 79%
);
border-top: 10px solid white;
padding: 15px 10px 15px 15px;
clear: both;
}
Recent comments