devilsinkpot Posted November 29, 2021 Share Posted November 29, 2021 Hi GSAP newbie here. I came to GSAP because I want to achieve one specific animation. But I can't get my head around it yet. Maybe someone can give me an example I can build upon and learn? The site should have sections with 100vh, each with a centered container. The first container should stay pinned once the wrapping section reaches the top of the viewport (or when the container is centred in the viewport). Then the next section should scroll up until this one reaches the top, then the first should unpin and both scroll up together. I didn't manage to come up with a working example so far. Can you help me? Thanks! Devi Link to comment Share on other sites More sharing options...
OSUblake Posted November 29, 2021 Share Posted November 29, 2021 Welcome the forums @devilsinkpot I'm having a hard time understanding what you're trying to do. Do you think you can put that in a minimal demo, even if it's not working. Just seeing the layout in a working demo would be really helpful. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now