CSS-Only Carousel

It’s kind of amazing how far HTML and CSS will take you when building a carousel/slideshow. Setting some boxes in a horizontal row with CSS Flexbox is easy. Showing only one box at a time with overflow and making it swipable with overscroll-behavior is easy. You can make the “slides” line up nicely with scroll-snap-type. A … Continue reading CSS-Only Carousel