Levi
Ultimate Member
I know this type of thing can be done with javascript but I'm trying to minimise the amount of javascript I'm using.
What I want to do is have 2 images one blurred and one normal with the blurred one fading out (I've done a background fade in css already) when on hover, it also needs to be clickable as a link.
Am I right in thinking I should do this with 2 layers and have the blurred one on a higher z axis. Then using css3 transitions fade the alpha channel of the image to 0, this then reveals the lower image. Then add all the relevant links etc to make it clickable.
I know this will only work on the newest browsers (or need to do some extra code for ie) but am I thinking along the right lines?
What I want to do is have 2 images one blurred and one normal with the blurred one fading out (I've done a background fade in css already) when on hover, it also needs to be clickable as a link.
Am I right in thinking I should do this with 2 layers and have the blurred one on a higher z axis. Then using css3 transitions fade the alpha channel of the image to 0, this then reveals the lower image. Then add all the relevant links etc to make it clickable.
I know this will only work on the newest browsers (or need to do some extra code for ie) but am I thinking along the right lines?