Jump to content

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

apply rotation to each of a dynamically generated class

Recommended Posts

i really want to select all of a class to each be rotated:  please see the codepen


How should I do that?  Ive seen somewhere that the selector should be $(".classname") but either that is wrong or the GSAP syntax is wrong. 



grateful for help




See the Pen Lnocf by robertwebb364 (@robertwebb364) on CodePen

Link to post
Share on other sites

BTW the codepen doesnt complete the dynamically generated ellipses, but this works on my machine. - however the animation does not. thanks

Link to post
Share on other sites


my friend your codepen generated ellipses completely ,  but they'r out of SVG viewbox ( 800 * 800 ) , var y=900 !!!  and the syntax's correct .

See the Pen ncrFe by anon (@anon) on CodePen


  • Like 3
Link to post
Share on other sites

bloody hell thank you!... and was not working on desktop due to some combination of wrong syntax and mistypes... its late here.  :-P

now sorted!

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.