
lselby
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by lselby
-
-
Hi all,
I've been wanting to try out a new hover animation for a button. Basically, I'm wanting a generic SVG to be hidden above the button. Once you hover over it, it should animate down until it covers completely and pauses. When you hover off, it should continue to animate down until it is out of sight.
My problem is that when you hover off and it animates out of sight, I can't get it to start over/repeat every time you hover over it. I've tried multiple ways to get it to work and have failed. The pen I added for this topic is the simplest/cleanest version I have.
Any help is greatly appreciated!
See the Pen BOQeMR by loganselby (@loganselby) on CodePen
Button Hover (mouseenter, mouseleave) Problem
in GSAP
Posted
Thanks @PointC and @Shaun Gorneau !