I have an image with a button on it. The button will only be visible, if I hover over the image.
I change it from display:none
to display:block
and it appears instantly.
I would like to delay the appearance of this button by 1 sec or make it appear linear, so it's a smooth transition. I saw the CSS3 transition
property and applied this, by using opacity
, too (0.0 to 1.0)
.
It seems not to be working. What am I missing? I don't think the -webkit
specific properties are the reason.
Check out my fiddle.js example:
Thank you!