DEV Community

Frederic R.
Frederic R.

Posted on

8

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 (2)

Collapse
 
mleu_coder profile image
Matthias Leu

Is it me or is this practically unusable? The look and feel is pretty bad, the scroll seems to stick on clicks and makes the carousel uncontrollable.

Collapse
 
jhvanderschee profile image
Joost van der Schee

Love it! I pinned it on Codepen! Here is my carousel: codepen.io/joosts/pen/dyKRQZv.

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay