sumit.kumar Posted December 15, 2025 Posted December 15, 2025 I’m trying to recreate the scroll-driven cards animation used on https://www.garcy.studio/ Target behaviour (reference attached via screenshot): Cards start offscreen (bottom / slight right). On scroll, the whole cards wrapper moves diagonally (up + left). Once the first card fully enters the viewport, the wrapper pins. While pinned, cards translate horizontally in a smooth, continuous way. No jumps, no resets, and no sudden position corrections after pinning. I’ve attached screenshots of the reference animation and shared a minimal CodePen demo showing the issue. Please help me here. See the Pen WbwBLYV by sumit_appinventiv (@sumit_appinventiv) on CodePen.
Rodrigo Posted December 15, 2025 Posted December 15, 2025 Hi, Perhaps something like this: See the Pen ByKebqJ by GreenSock (@GreenSock) on CodePen. Basically the idea is to use two ScrollTrigger instances, one for moving the cards section horizontally and another to pin the parent of that section. Then is just about using the end property in order to make both instances end at the same scroll position: https://gsap.com/docs/v3/Plugins/ScrollTrigger/end Hopefully this helps Happy Tweening!
sumit.kumar Posted December 16, 2025 Author Posted December 16, 2025 Thanks a lot — this is exactly what I was looking for 👍 Using two separate ScrollTrigger instances (one for pinning the parent and another for moving the cards horizontally) and syncing them via the same end value is the missing piece. That approach completely avoids the jumping and transform conflicts I was running into. Really appreciate the clear explanation — happy tweening! 🙌 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now