Is there a way to specify a CSS3 transition to occur only on :hover and when returning from hover, not on every event? [closed]
- by Steve
You could define the transition on the :hover event, which causes the browser to render only the effect into the hover and not out of it.
a:hover {
transition...
}
Using scale as an example, an image being scaled up would scale up on hover, but go straight back down without any transition when the cursor leaves the image.
Or, you can set…