Jump to content
Search Community

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

friendlygiraffe
Posted

Is it possible to staggerFrom the same point on a relative positioned div?

 

The Circles all start from 200px from their individual positions, whereas I'd prefer them to start at left:200px in absolute coordinates.

 

Thanks

See the Pen RLVxEy by friendlygiraffe (@friendlygiraffe) on CodePen.

Posted

Hi @friendlygiraffe :)

 

If I understand your question, you want all the circles sitting on top of each other at left:200px and then stagger from that point? If that's what you need, you could use cycle for that. 

 

See the Pen JrNmza by PointC (@PointC) on CodePen.

Is that what you meant?

 

Happy tweening.

:)

  • Like 4
friendlygiraffe
Posted

Thanks a lot. @PointC That works, but the circles need to be set as relative, not absolute

 

Is there a way of setting a relative div to an absolute position ?

 

 

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