True parallax with css-only

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

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

ShortIntermediateUI1 min

About this video

A short CSS-only tutorial showing how to create a true parallax scrolling effect using animation-timeline: scroll(), without background-attachment: fixed or a JavaScript library.

What you’ll learn

  • Build a parallax scroll effect using only CSS