linear-gradient


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.