Create a horizontal media scroller with CSS

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI26 min

About this video

A hands-on CSS tutorial that builds a horizontal scrolling media component, covering item styling, locally scoped custom properties, scroll snapping and scroll groups. It suits front-end and web designers who already know basic HTML and CSS.

What you’ll learn

  • Build a horizontal scrolling component with CSS
  • Apply scroll snapping to align items as users scroll
  • Use locally scoped custom properties to style scroll groups