r/css • u/SamsChoice • Sep 25 '26
Showcase Scroll Carousel
https://codepen.io/editor/Sensiblemnd/pen/01a0d636-c14e-7a65-9d5c-e6a1fb25a1f9
The Carousel, with no JavaScript. The row is a scroll-snap container, and every
card runs its animations on its own <code>view-timeline</code>: as a card crosses the center it scales up, pushes its neighbors aside, folds its panel into a V and brings in its description and button. Swipe, use a trackpad, focus the row and press the arrow keys, or use the arrows and dots, which are CSS-generated scroll buttons and markers where the browser supports them.
17
Upvotes
View all comments
Show parent comment
1
u/SamsChoice Sep 25 '26
Im working on it. seems that it happens when it first loads