Gradients for Moz, WebKit, IE

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

Copy this code and paste it in your HTML
  1. background: #color; /* for non-css3 browsers */
  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


RSS Icon Subscribe to comments

You need to login to post a comment.