Coding task · HTML and CSS course · Module 9: Modern CSS

Gallery with scroll-snap

Create a smooth scrolling gallery like sliding panels in a temple.

Task

Use scroll-snap-type: x mandatory and scroll-snap-align: start to create a gallery that snaps to items.