Linear-Gradient


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

Cross browser.


Copy this code and paste it in your HTML
  1. background: #fff;
  2. background: -moz-linear-gradient(#fff, #000);
  3. background: -webkit-linear-gradient(#fff, #000);
  4. background: -o-linear-gradient(#fff, #000);
  5. background: -ms-linear-gradient(#fff, #000);/*For IE10*/
  6. background: linear-gradient(#fff, #000);
  7. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#ffffff', endColorstr='#000000');/*For IE7-8-9*/
  8. height: 1%;/*For IE7*/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.