“Just as you can declare the background of an element to be a solid color in CSS, you can also declare that background to be a gradient. Using gradients declared in CSS, rather using an actual image file, is better for control and performance.” Source: http://css-tricks.com/css3-gradients/
Complete article: CSS Gradients | CSS-Tricks.