Linear Gradient


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



Copy this code and paste it in your HTML
  1. .gradient {
  2. background-color: #444444;
  3. background-image: -webkit-gradient(linear, left top, left bottom, from(#444444), to(#999999));
  4. background-image: -webkit-linear-gradient(top, #444444, #999999);
  5. background-image: -moz-linear-gradient(top, #444444, #999999);
  6. background-image: -ms-linear-gradient(top, #444444, #999999);
  7. background-image: -o-linear-gradient(top, #444444, #999999);
  8. background-image: linear-gradient(top, #444444, #999999);
  9. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#444444', EndColorStr='#999999');
  10. }

URL: http://css3please.com/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.