How to Add Horizontal Scrolling in Webflow
Learn how to create horizontal scrolling in Webflow with CSS flexbox, scroll snap, and navigation buttons.
In this tutorial, Sandro, co-founder of the Gemeos Webflow agency, shows you how to create horizontal scrolling in Webflow for a carousel or a scrolling gallery.
Example
1. Create the scroll container
Create a scroll-container Div. Set: overflow-x: scroll (or auto), display: flex, flex-wrap: nowrap. Add scrollbar-width: none to hide the scrollbar. Inside it, add your child elements with a fixed width or min-width.
2. Enable scroll snap
On the container, add this via a CSS embed: scroll-snap-type: x mandatory. On each child item: scroll-snap-align: start. This creates a snapping effect for each item as you scroll.
3. Add navigation buttons (optional)
Conclusion
CSS horizontal scrolling gives you a modern, lightweight experience. Use cases:
- Client logo galleries
- Testimonial carousels
- Horizontal timeline
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















