CSS-only Interactive, Swipeable Image Carousel
9 min readMay 5, 2021
Let’s build a simple, no-JavaScript carousel you can swipe on both mobile and desktop. We will even add deep-linking to individual slides from buttons or unique URLs!
All you need is HTML and CSS
This is an example project from my book, All you need is HTML and CSS: