Posted By

josephknight on 09/11/10


Tagged

css crossbrowser webdesign gradient


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

tamala73
hmvrulz
jplr
Carolyne
jillella


Crossbrowser CSS Gradient


 / Published in: CSS
 

URL: http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/

From: http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/

  1. /* for webkit browsers */
  2. background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000));
  3. /* for firefox 3.6+ */
  4. background: -moz-linear-gradient(top, #ccc, #000);
  5. /* for IE */
  6. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000');

Report this snippet  

You need to login to post a comment.