Share Posted June 8, 2022 I've been trying to use Scrolltrigger to scroll cards horizontally. I want my cards to stack on top of each other in the center of the screen. I am using GSAP with Angular but feel free to post solutions in vanilla JS. This is the closest I've gotten to achieving the desired results, also it's broken on almost every screen size except 1920. StackBlitz URL:GSAP Scroll Trigger for stacked cards - StackBlitzhttps://stackblitz.com/edit/ng-zorro-antd-start-3qegqy?file=src/app/app.component.html,src/app/app.component.ts,src/app/app.component.scss [EDIT] : I am using StackBlitz instead of code pen because StackBlitz provides a working Angular environment with minimal setup required. Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now