Posted By

sprungmarker on 06/21/11


Tagged

CSS3 gradient linear


Versions (?)

linear-gradient


 / Published in: CSS
 

  1. background: #767776; /* Fallback */
  2. background: -webkit-gradient(linear, left top, left bottom, from(#b3b3b3), to(#767776)); /* Chrome,Safari4+ */
  3. background: -webkit-linear-gradient(#b3b3b3, #767776); /* Chrome10+, Safari5.1+ */
  4. background: -moz-linear-gradient(top, #b3b3b3, #767776); /* FF3.6+ */
  5. background: -o-linear-gradient(#b3b3b3, #767776); /* Opera11.10+ */
  6. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#767776'); /* IE6 & IE7 */
  7. -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#767776')"; /* IE8+ */
  8. background: -ms-linear-gradient(#b3b3b3, #767776); /* IE10+ */
  9. background: linear-gradient(#b3b3b3, #b3b3b3); /* W3C */

Report this snippet  

You need to login to post a comment.