artstyle Posted February 1, 2021 Share Posted February 1, 2021 hello i dont have a demo, its just a question. i tried to search the docs but didnt find anything. so the question is: is it possible to toggle a hover effect once with gsap? or a single css animation with @keyframes for example? Link to comment Share on other sites More sharing options...
mvaneijgen Posted February 1, 2021 Share Posted February 1, 2021 A demo would still be nice, because then we can see your thought process and help nudge you in the right direction. I would add a EventListener on mouse enter and then call your animation and reset it on mouse leave? Again a demo would be nice. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now