Posted By

polly42 on 12/19/10


Tagged

image background gradient


Versions (?)

Combining image and gradient in an element's background


 / Published in: CSS
 

  1. .element {
  2. background-image: url(image.png), -moz-linear-gradient(top, #fff, #000);
  3. background-image: url(image.png), -webkit-gradient(linear, left top, left bottom, from(#fff), to(#000));
  4. }

Report this snippet  

You need to login to post a comment.