Is there a way to slow down a hover effect? I have a hover effect on my site (removed) that displays text on hover of the images. I want to slow down the effect by a little. It’s a tad jarring how quickly the picture switches over.
How would I do that?
You could add css3 transitions:
It depends on how you’re displaying the text. If you’re changing a CSS property you can do this with CSS3 transitions. Below is an example.
HTML:
CSS:
Demo
Edit: David Thomas has told me that you cannot change the display with transitions. I have updated the above to use opacity.
I know this is quite a bit late but look into CSS3 animations. I use an animation on one of my Garry’s Mod loading screens.
I know it’s not quite the result your looking for but I’m sure you and others can find this useful.
If you’d like, you could use jQuery .fadeIn() http://api.jquery.com/fadeIn/