Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to create a dotted shadowy effect on an image with CSS?

How to create a dotted shadowy effect on an image with CSS?

Problem

I would like to create the effect that can be seen on the website http://www.murmure.me/ when you hover on their images.

I know They use two different images but I would like to be able to this effect without 2 images, just with ONE picture (the one without the dots) and by using CSS. Is it possible ?

Problem courtesy of: Mathieu

Solution

Mikel, you can't achieve a silk-screen effect using CSS and a single image.
It's not going to happen any time soon, in any cross-browser compatible way.

Maybe, eventually, when you can custom-program CSS filters using HLSL or similar...
But for the time-being, even with near-ish-future CSS-filters, I don't think that they're going to offer silk-screen, and THEN, you'd need to worry about that, along with the transition effects, and THEN you'd need to worry about browser support, with 2-image fallbacks for other browsers...

ie: you'd have to create the 2nd image and write the 2-image fallback which you were hoping there was a CSS filter for, to avoid making the 2nd image, in the first place.

Solution courtesy of: Norguard

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

How to create a dotted shadowy effect on an image with CSS?

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×