Jump to content
Search Community

Jolt in animations

pattocheu test
Moderator Tag

Go to solution Solved by mvaneijgen,

Recommended Posts

  • Solution

Hi @pattocheu

 

You didn't scope your elements to the current paragraphe. So in your forEach loop you created a timeline (in total 3) and each timeline it was trying to animated all the elements, instead of each timeline only animating their own elements. Took me a while to figure it out, so I might have removed some of your code. Hope it helps and happy tweening! 

 

See the Pen QWYRXjL?editors=1111 by mvaneijgen (@mvaneijgen) on CodePen

  • Like 3
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...