Hello,
I made some changes with the observer; however, the animation of each card happens automatically, but I would like to keep it triggered by scrolling, like this:
When I'm on the .box, on the first scroll, it triggers the animation of card 1.
Still inside the .box, on the second scroll, it triggers the animation of card 2.
Continuing within the .box, on the third scroll, it triggers the animation of card 3.
Then, release the scroll to continue.
CodePen link:https://codepen.io/jordan-morand/pen/jOXoqdK