Jump to content


Problems with border-bottom/top-radius

Moderator Tag

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

Hi guys,


I'm trying to animate a divs left corners in for a page transition. The reverse of this looks weird, so I'm trying to fade it out via opacity. As you can see, it works but then we need to reset the values of corner back to 60% & the x value back to the start of tween one. Can't quite see where I'm going wrong here! 




See the Pen yRKvxW by t0mpy (@t0mpy) on CodePen

Link to comment
Share on other sites

Managed to fix it with a few changes!





  • Like 2
Link to comment
Share on other sites

Hi @Tompy and Welcome to the GreenSock Forum!


I'm glad you got it sorted, let us know if you have any additional help.


Happy Tweening! :)

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