Hi everyone,
I'm trying to reproduce the following scroll animation on sections
This is very close to the "Layered Pinning From Bottom" example given in the ScrollTrigger documentation but with 80% height sections + scale animation. I thought it would be easy to achieve by inspiring myself with the documentation example.
Surprisingly, it has now been more than 2 days that I'm struggling with this animation without being successful.
Before asking for your help, I've done research and tried many different way of doing it.
Among all the numerous attempts I made, the closest to the expected result is the following
https://codepen.io/sebastienthiriet/pen/VwmZggv
It "more or less" works - but it does not look good as in my reference...
I found the stagger setting by manual iterations, which is always a hint that we're not on the right path
Plus, my animation is presenting a kind of parallax effect when sections are animating concurrently which is not present in the animation of my web reference.
And finally, I do not know how to add a scale animation on the child img tags that each section includes...
If someone could help on this, that would be very much appreciated,
Best regards,
Sebastien