Posted By

Abiotic on 01/04/13


Tagged

css 3


Versions (?)

Linear-Gradient


 / Published in: CSS
 

Cross browser.

  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  

You need to login to post a comment.