Adding Background Gradient in CSS
Join the DZone community and get the full member experience.Join For Free
Today with CSS3, you no longer need a background image for gradients. You can use CSS to add a gradient to the background of some elements on your page. For ex.: change the color hex values ("84c8d7" and "327fbd") to the gradient color you need.
This is a DIV with gradient background.
Opinions expressed by DZone contributors are their own.