Crossbrowser CSS Gradient


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

From: http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/


Copy this code and paste it in your HTML
  1. /* for webkit browsers */
  2. background: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#000));
  3. /* for firefox 3.6+ */
  4. background: -moz-linear-gradient(top, #ccc, #000);
  5. /* for IE */
  6. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000');

URL: http://www.webdesignerwall.com/tutorials/cross-browser-css-gradient/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.