Jump to content
Search Community

Multiple clipPath animation

AntonioNB4 test
Moderator Tag

Go to solution Solved by akapowl,

Recommended Posts

  • Solution

Hello Antonio.

 

2 hours ago, AntonioNB4 said:

I would like one to happen first until its completion and then the other one starts.

 

If I do not totally misunderstand what it is you're going for, I'd say your code does exactly that.

 

The one thing that is throwing everything off in your example is that you are not using your unit for the 0 values everywhere, which you should always do because GSAP can not wildly guess which unit it is you want to use there.

 

So just add % to your 0 values of that first tween and you should be good to go, right?

 

See the Pen KKbwZPd by akapowl (@akapowl) on CodePen

 

  • Like 2
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...