Answer the question
In order to leave comments, you need to log in
How to make an animation when scrolling through a section in fullpage.js?
Hello, tell me how to implement animation when scrolling a section?
In the example at the link
https://alvarotrigo.com/fullPage/examples/scrollin...
Sections are switched and scrolled, the question is to hang an animation tied to the scrolling of the mouse wheel like here:
scrollmagic.io
But the problem is that fullpage simulates scrolling by changing the transform: translate(0px, 2px) property of the parent block and it turns out that there is no such scrolling and the animation does not occur :(
Answer the question
In order to leave comments, you need to log in
Vyacheslav Yashnikov fullpage.js has transition/leaving events to a section.
You can listen to these events and hang/remove animation classes on elements in handlers
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question