How to make background image black-and-white?

Posted by Dmitri on Pro Webmasters See other posts from Pro Webmasters or by Dmitri
Published on 2011-03-15T14:01:07Z Indexed on 2011/03/15 16:19 UTC
Read the original article Hit count: 347

Filed under:
|

Are there any filters that would make background image to be displayed as black-and-white?

What I mean, is this: i have a background image set via css using background: url(/image.png);

But now I need to apply a filter so that an image is shown as black-white only. Ideally, I would like to also apply opacity to it.

The effect I really trying to achieve is to have background image black/white and on hover over that span element the filter would be removed, revealing the color version.

And of cause it has to work in FF, Chrome, IE

Can someone help me?

© Pro Webmasters or respective owner

Related posts about css

Related posts about image