Trying to replicate pure CSS stacking cards with react tsx, not sure how to proceed
I’m trying to recreate a component I’ve mad ein pure css in a react tsx component, but im not sure how to proceed.
STACK CARDS ON SCROLL React TSX component not working, whilst pure css component works
I’m trying to make a React TSX component that will have 4 cards that will stack on scroll. I have been able to find the effect I want with pure Html CSS, but then when I try translate it to a react typescript component, it doesn’t do the scrolling or stacking, it just shows the 4 cards on after another. I really don’t know why it doesn’t work in the React tsx given it works for the pure html css. Any ideas?