A Simple Way to Create a Slideshow Using CSS Scroll Snap

VideoZoran Jambor

Learn how to create a fully functional slideshow using CSS Scroll Snap.

Learn how to create a fully functional slideshow using CSS Scroll Snap. You basically need 3 CSS properties to make custom scrolling behavior work: scroll-snap-type, scroll-snap-align, and optionally scroll-snap-stop. In this video, you'll learn how these properties work and the drawbacks of using this technique.

Chapters

  • 00:00 Introduction
  • 00:16 Setup
  • 00:43 Styling slideshow slides
  • 02:36 Implementing CSS Scroll Snap
  • 06:31 Creating horizontal scrolling slideshow
  • 08:20 Conclusion

Demo

AI Developer Newsletter

AI Developer Newsletter

A short, friendly roundup of the most useful tools, ideas, and real-world examples—curated specifically for developers like you.

Subscribe Today »
Baseline Status for Video

Baseline Status for Video

A handy online tool that will let you easily show Baseline Status in your videos.

Try It Now »