DEV Community 👩‍💻👨‍💻

Frederic R.
Frederic R.

Posted on

Minimal Carousel with scroll snap, mobile & mouse friendly

A scrollable carousel in few lines of JS and CSS. You can scroll with your fingers or click and drag. The div snaps to the center Does not use any library like slick, owl carousel, tiny-slider, flickity, ...

Top comments (1)

jhvanderschee profile image
Joost van der Schee

Love it! I pinned it on Codepen! Here is my carousel:

Take a look at this:


Go to your customization settings to nudge your home feed to show content more relevant to your developer experience level. 🛠