How it works
The staggered entrance is a combination of two pieces. IntersectionObserver watches the list container and fires exactly once when it scrolls into view. CSS does the rest: every child shares one keyframes definition that starts at translateY(24px) with opacity 0 and ends at rest, and the only difference between items is animation-delay - item i waits i times 70 milliseconds. The result reads like a waterfall: each row lands with a small overshoot because the easing curve (something like cubic-bezier(0.34, 1.2, 0.64, 1)) carries a touch of spring, settling just past its final position before easing back.
The detail that separates a polished result from a broken one is cleanup. If the animation and its fill mode stay attached after the entrance completes, later hover transitions on the same elements will stutter or refuse to run. Remove the entrance class once the last item lands, or use animation-fill-mode: backwards so nothing lingers. The replay button is the classic three-step: remove the class, force the browser to recalculate by reading offsetWidth, then add the class back - the animation restarts from frame zero.
How to use this prompt
This works for any list revealed for the first time: feeds, search results, settings rows, checkout steps. When you send the prompt, tell the AI how your list is rendered - static HTML, a framework map, or virtualized rows - because that decides whether delays land as inline styles or CSS variables. For long lists (more than 20 items), ask for a delay cap, for example no item waits longer than the 8th position, otherwise the bottom of the list appears over a second late and users start scrolling before it arrives.
Tips for better results
Keep the stagger between 50 and 90 milliseconds - under 40 and the cascade is invisible, over 120 and it feels sluggish. Slide-in distance of 20 to 30px reads as a gentle settle; anything past 50px looks like flying in from offstage. For long feeds, stagger only the first batch in view and restart the cascade per loaded page - that rhythm holds attention far longer than one global sequence. Finally, lock the list container's overflow during the animation so the 24px offset never briefly extends the page and flashes a scrollbar.