Scroll the panel below. The top bar is bound to scroll with
animation-timeline: scroll(); the cards reveal with
view(). Zero JavaScript drives the motion. Change the
range to feel each phase β including in & out, which
reverses as a card leaves the top.
animation-range: entry 0% entry 100%;
β scroll me β
Now scroll back up β with in & out the cards fade away as they exit.
animation-timeline yet β the whole point of the post!
Try the latest Chrome or Firefox, or Safari 18+, to see the demo.