Posted By

zreedeecom on 10/18/10


Tagged

css gradient


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

AllKnightAccess
chris5marsh


Gradients for Moz, WebKit, IE


 / Published in: CSS
 

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

Report this snippet  

You need to login to post a comment.