Jump to content


Change height of container on scroll

Recommended Posts


I'm trying to emulate this effect on scroll where basically the height of the sections are changing.

Does someone ever tried something like that or knows a way to achieve it?

Thanks a lot in advance

Link to comment
Share on other sites

It looks totally doable, probably using ScrollTrigger. I don't have time to build it for you or anything, but the general idea is to build a timeline that animates all those heights and then wire that up to the scroll value with ScrollTrigger. 


Good luck!

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