True parallax with CSS-only is now possible

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI18 min

About this video

A CSS-only tutorial showing how to build a true parallax effect using scroll-timeline and scroll(), with control over the speed of each layer and no JavaScript. It also covers the browser support issues and a polyfill.

What you’ll learn

  • Build layered parallax sections with CSS stacking and HTML structure
  • Drive element animations with scroll-timeline and scroll()
  • Adjust the speed of each parallax layer and handle overflow and stacking issues