Jump to content
GreenSock

kanapka94

Animate SVG polygon problem

Recommended Posts

Hi Guys!

 

I have a problem with my animation. I don't know why, only when I move mouse scroll or change width of codepen window, my animation start playing. I want to create continuous animation but I don't know what I'm doing wrong.

See the Pen EgpWam by kanapka94 (@kanapka94) on CodePen

Link to comment
Share on other sites

Okay I resolved my problem by putting my image into other div with svg tag!

 

That pen resolved my problem:

 

See the Pen bdjoRa by kaplan (@kaplan) on CodePen

     - thanks Dave Kaplan!

Link to comment
Share on other sites

Hello kanapka94 and Welcome to the GreenSock Forum!

 

Glad you got it working!

 

Happy Tweening :)

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