DEV Community

Discussion on: Creating practical Instagram-like galleries and horizontal lists with CSS scroll snapping

elisavettriant profile image
Elissavet Triantafyllopoulou

Hello Joost and thank you!

So, I wanted to make a horizontal slider/carousel using the Intersection Observer API and came across your article.

I think this solution is really neat and can work even in production with a polyfill.

This is my testing demo:, which is actually for a CodePen challenge named "Scrolling Microinteraction" (

I tried to make it work with responsive settings on the container/wrapper element so I made some adjustments on the observer callback function.

joostkiens profile image
Joost Kiens Author

Nice work!