Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Incredible Scroll-Based Animations with CSS-Only

Kevin Powell via YouTube

Overview

Explore advanced scroll-based animations using CSS-only techniques in this comprehensive tutorial video. Dive deep into scroll-timeline, scroll(), and view() value functions to create engaging effects like scroll watchers, fading images on viewport entry, and horizontal element movement during vertical scrolling. Learn about animation-range property, prefers-reduced-motion considerations, entry and exit keywords, and working with non-viewport scrollbars. Discover how to create captivating hero area animations and understand browser support limitations. Gain practical insights into implementing these powerful CSS animations to enhance your web projects and create more dynamic, interactive user experiences.

Syllabus

- Introduction
- scroll watcher
- a bit more on the scroll function
- fade in images as they enter the viewport with view
- offsets with the view function
- the animation-range property
- prefers-reduced-motion
- entry and exit keywords for animation-range
- working with scrollbars that are not the main viewport
- the hero area animation
- browser support

Taught by

Kevin Powell

Reviews

Start your review of Incredible Scroll-Based Animations with CSS-Only

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.