I would like to snap both section 2 and section 3 when scrubbing the animation in section 2.
And unpin both if the animation is finished. I don't want section 2 and 3 overlap each other.
Here is the wrong result: https://codepen.io/codyng/pen/VwavOqX
I don't know how to do that with ScrollTrigger.
Thanks again.
Hi there,
From my codepen as below link, how to remove the bottom padding of section 2?
There will be animation inside the section 2.
I've tried many ways but no luck.
https://codepen.io/codyng/pen/QWNjYoL
Thanks for advices.