How to Stop animation onclick in web | SoloLearn: Learn to code for FREE!

+14

How to Stop animation onclick in web

How do I stop an animation using js when I click a button or any div Pls help Thanks in advance Happy Coding

9/17/2020 5:52:49 PM

Tanmay Gupta [UNAVAILABLE]

4 Answers

New Answer

+10

See this article from css-tricks.com: https://css-tricks.com/controlling-css-animations-transitions-javascript/#:~:text=The%20solution%20is%20actually%20quite,you%20want%20to%20pause%20it.

+7

Thanks @Vrintle 👍👍

-3

Cool code bro 👍👍👍👍

-5

🙏🙏🙏🙏