Jump to content
Search Community

Create some scrollTrigger - Spin while scrolling.

vacho test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

  • Solution

That looks to me like you could just pin the container <div> and then animate the rotation of its child and make the transformOrigin pretty low. 

 

We don't normally do this kind of thing (it's well beyond the scope of help we can provide in these forums), but I was curious so I whipped together a very quick demo that might help get you moving in the right direction: 

See the Pen WNaxQLg?editors=0010 by GreenSock (@GreenSock) on CodePen

 

I hope that's useful. If you've got any GSAP-specific questions, we're happy to help with those. 

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