Posted By

sethetter on 04/10/11


Tagged

cross-browser CSS3 gradient


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

deiby
jafar


CSS3 Gradients All Browsers


 / Published in: CSS
 

  1. .gradient-bg {
  2. background-color: #1a82f7;
  3. background-image: url(images/fallback-gradient.png);
  4. background-image: -moz-linear-gradient(#2F2727, #1a82f7);
  5. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#1a82f7), to(#2F2727));
  6. background-image: -webkit-linear-gradient(#2F2727, #1a82f7);
  7. background-image: -o-linear-gradient(#2F2727, #1a82f7);
  8. }

Report this snippet  

You need to login to post a comment.