Jump to content
Search Community

How to: Sections stacked of each other and expanding one by one (with example)

Novaliz test
Moderator Tag

Recommended Posts

 

50 minutes ago, Novaliz said:

Can you achieve that with GSAP and when how?

 

The answer verly likely is yes; you could either try ScrollTrigger or Observer - those are the plugins that can help with scroll-related animating.
 

For the 'how'; you could start with inspecting the website you linked in your dev-tools and see what you can find out about the layout or the logic they implemented.

 

We love helping with GSAP-related questions, but unfortunately we just don't have the resources to provide free general consulting, logic troubleshooting, or "how do I recreate this cool effect I saw on another site?" tutorials. Of course anyone else is welcome to post an answer if they'd like - we just want to manage expectations.  

 

If you're looking for ScrollTrigger effects, I'd recommend looking at the demos at https://greensock.com/st-demos and https://codepen.io/collection/DkvGzg and https://codepen.io/collection/AEbkkJ - you may be able to use one of those as a jumping-off point. 

 

You are welcome to post in the "Jobs & Freelance" forum for paid consulting, or contact us directly. 

 

Otherwise, if you've got a GSAP-specific question just post that here along with a minimal demo and we'd be happy to take a look. 

Link to comment
Share on other sites

32 minutes ago, Rodrigo said:

Hi,

 

Yeah that is not the simplest thing to achieve, but maybe this example could provide a few hints:

 

 

 

Happy Tweening!

Thank you! I need it just the other way that the items start closed and expand when scrolling :) Maybe I can figure it out how to do it. Thanks for your time!

Link to comment
Share on other sites

Hi,

 

I'd strongly recommend you to create the animation  without ScrollTrigger first. This seems like a case where using a loop or staggers could be helpful.

 

Check this videos @Carl made about staggers and sequences:

They don't show exactly what you're trying to do, but they certainly illustrate the versatility of staggers in situations like this when you  just need to correctly sequence a series of animations.

 

Hopefully this helps.

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.
×
×
  • Create New...