Gradients with CSS only


“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:

Complete article: CSS Gradients | CSS-Tricks.