Jump to content
Search Community

How to setup two tween for the same element?

flim test
Moderator Tag

Go to solution Solved by OSUblake,

Recommended Posts

I want to setup two tween for the same element, in the codepen, the h1 set as gsap.from, the text fade in and move from right, then in next tween gsap.to I want the text scale up and fade out.

 

The first tween seems work, but no effect in the second tween. Any idea? Thank you.

See the Pen GRvqLmL by fredlim (@fredlim) on CodePen

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