Jump to content
Search Community

With GSAP SplitText, how to animate the words of each line in the same time ?

Harold AO test
Moderator Tag

Go to solution Solved by PointC,

Recommended Posts

  • Solution

You'd need to loop through each line and select the bottom/top .char in those lines and start all tweens at 0. Something like this.

See the Pen b300c7bf37ea7a9567e1733d87bbbe30 by PointC (@PointC) on CodePen

 

Just FYI - you had an ease on the timeline itself, but timelines don't have eases. I moved that power4.inOut ease to the defaults for the timeline so it would be applied to each tween.

 

Hopefully that helps. Happy tweening and thanks for being a club member.

:)

 

 

  • Like 4
Link to comment
Share on other sites

2 hours ago, PointC said:

You'd need to loop through each line and select the bottom/top .char in those lines and start all tweens at 0. Something like this.

 

 

 

Just FYI - you had an ease on the timeline itself, but timelines don't have eases. I moved that power4.inOut ease to the defaults for the timeline so it would be applied to each tween.

 

Hopefully that helps. Happy tweening and thanks for being a club member.

:)

 

 

Thank you so muchhhhh🔥🔥😍

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...