Basic code as yet not working in any major browsers
background: linear-gradient(top, #000000, #dddddd);
Safari 5.1+, Mobile Safari, Chrome 10+
background: -webkit-linear-gradient(top, #000000, #dddddd)
Firefox 3.6+
background: -moz-linear-gradient(top, #000000, #dddddd)
IE 6-10
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#dddddd',GradientType=0 );
Opera 11.10+
background: -o-linear-gradient(top, #000000, #dddddd)
Safari 4+ and Chrome 1-9
background: -webkit-gradient(linear, 0% 0%, 0% 100%, (#000000), to(#dddddd))
Combination code – works in all modern browsers with fallback solid background for non-supporting browsers