Posted By

lister on 07/05/11


Tagged


Versions (?)

Linear Gradient


 / Published in: CSS
 

CSS3 allows to create linear gradients which is a nice feature as you do not need an image anymore for this. Keep in mind that some browsers do not support this feature.

  1. background: -webkit-gradient(linear, left top, left bottom, from(#74b8d7), to(#437fbc));
  2. background: -moz-linear-gradient(top, #74b8d7, #437fbc);
  3. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#74b8d7', endColorstr='#437fbc');

Report this snippet  

You need to login to post a comment.