Hello guys, I need your help. Can someone please help me, I appreciate your guidance, I need to work something like the example that I leave at the moment of scrolling there are several images that can be zoomed.
What is troubling you? This is just ScrollTrigger with pin applied on the parent. The animation is basically a perspective scaling.
First build the animation then add ScrollTrigger.
You will have to calculate when the animation ends, could be as simple as some z: XXX but better way may be to calculate when the last photo is out of the viewport.
See the Pen b7599ae9273237439923abb264dfddce by dadacoded (@dadacoded) on CodePen