I have the following div that starts hidden slightly off page and when the user hovers it, it slides down.
However, when the user hovers and then moves the mouse away, the animation jumps back and doesn’t look good. Is there a way to create the animation slide back upwards smoothly without the jumpiness?
It is also looping which I don’t like. I would like it to just slide down and stay there until the user does a
mouse-out. I have tried this, to make it play once, but it seems to be looping.
I can’t help with the animation effects, but you need to ensure your animation is triggered by :focus as well as :hover, or it will be inaccessible to keyboard users.