How to trigger animation on scroll in JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to trigger animation on scroll in JavaScript?

I have made a website with custom animations but I want to to trigger those animations only when the user scrolls down

30th Mar 2020, 3:51 AM
Sujeet Kumar
Sujeet Kumar - avatar
2 Answers
+ 3
Sujeet Kumar here is one way with fade and ipfffo 's gave another good example... As you gain more experience you will discover several ways to trigger and animate https://code.sololearn.com/WGjuY4sFPP9F/?ref=app
30th Mar 2020, 4:23 AM
BroFar
BroFar - avatar
+ 1
https://lmgtfy.com/?q=How+to+trigger+animation+on+scroll+in+JavaScript%3F
30th Mar 2020, 4:16 AM
ipfffo