Hello.
I'm facing a problem with an animation i want to create with scrollTrigger. I join a codepen to explain my issue.
I have a div .slides between other content and it's composed of several slides. When i reach my div .slides, I want it to pin to the window and its slides should be displayed progressively, sliding from the bottom of the screen. When the last slide is displayed, the rest of the content must scroll normally.
I tried multiple thing but i failed
Anyone to help me and show me what's wrong in my code. I would be grateful
Thank you