Jump to content
Search Community

Animated SVG with GSAP

DN-SF test
Moderator Tag

Recommended Posts

I am trying something new for me. I've created an animated SVG, with a gsap timeline. It looks great on its' own, but when I put it in the HTML page below the fold, the animation completes before I get to it. I was hoping to utilize ScrollTrigger, but this is not working. Any help would be appreciated. 

 

Also, the files are in an AEM environment.

 

Thanks,

dNo

ig-percent-enrolled-by-family-040121.svg

Link to comment
Share on other sites

Hi @DN-SF :)

 

Welcome to the forum and thanks for joining Club GreenSock.

 

I just pasted your markup into a quick CodePen demo with some spacer divs & ScrollTrigger so you could see it all working as expected.

 

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

 

Hopefully that helps. Happy tweening and welcome aboard.

:)

 

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