Hello I want you to make me in React the following, I want a group of cards to display my projects, when the first project is displayed it will be displayed normally then the other will be around 2 units below him, so in general I want a sticky scroll in React
I'll create a sticky scroll project cards component for you. This will feature cards that stick at different positions as you scroll, creating a staggered effect.
I've created a sticky scroll projects component with the following features:
2rem
from the top2rem
lower than the previous onetop
offset in the style prop to change spacing between cardsprojects
array to add your actual project dataThe component includes placeholder project data - simply replace it with your actual projects, images, and links!
I want the effect to be on top and the last card to be shown on top like a deck of cards
I'll modify the sticky scroll effect to work like a deck of cards where the last card appears on top and cards peel away as you scroll.
Perfect! Now the sticky scroll effect works like a deck of cards where:
2rem
) and the next card slides over the previous one2rem
) creating the deck effectThe effect now mimics flipping through a physical deck of cards where you see the top card first and can flip through to see the ones underneath!
Okay just leave some space for each card to be seen up top