Posted By

LukeLux on 06/18/11


Tagged

textmate CSS3 gradient


Versions (?)

CSS3 Gradient


 / Published in: Other
 

  1. /*--- Gradients ---*/
  2. /*
  3. Safari
  4. */
  5. {-webkit-gradient(linear, left top, left bottom, from(#1aa6de), to(#022147));}
  6. /*
  7. -moz
  8. */
  9. {-moz-linear-gradient(-90deg,#1aa6de,#022147);}
  10. /*
  11. Opera
  12. */
  13. {background-image: -o-linear-gradient(top left,rgba(100,100,100,1),rgba(100,100,100,0.5));}
  14. {background-image: -o-repeating-linear-gradient(20deg,rgb(255,0,0),rgb(100,0,0) 20px, rgb(255,0,0) 40px);}
  15. /*
  16. IE
  17. */
  18. /*E9 does not yet support CSS gradients, but you could always use SVG gradients to provide a fallback in IE9.*/

Report this snippet  

You need to login to post a comment.