Linear Gradient


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

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.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.