Jump to content


The last tween in my split text example isn't tweening

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

The word Three should appear 3 times,  the last appearance of three should appear right after the last sentence that displays.

See the Pen doYYEj by jimeast (@jimeast) on CodePen

Link to comment
Share on other sites

Try this: http://codepen.io/GreenSock/pen/eNpJyV?editors=001


You will note that there are 2 from() tweens on words.three that have immediateRender:false applied.


To understand why that is necessary please read the following post starting where the word immediateRender is bold



Also, it seemed a little odd that words.three was split into chars and words, but there was only one word (the word three) and you were trying to stagger it.

No worries. I cleaned it up by changing the staggerFrom() and staggerTo() tweens to from() and to() respectively. 

  • Like 2
Link to comment
Share on other sites

 Tried FromTop on all the froms(or was it most)but didn't work.

Thanks so much, now I can go on to throw the holy hand grenade!

I also liked retropunk's example I'm saving both examples for future reference.

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.