We are proud to announce the release of "Unleash the Power of Scroll-Driven Animations", a 10-part video course to learn all about scroll-driven animations using CSS or JavaScript.
You can watch the series on YouTube. The first episode is embedded here.
Scroll-driven animations?
With scroll-driven animations you can take an existing CSS or WAAPI animation and animate it on scroll. Because of that, scroll-driven animations inherit all of the benefits these APIs bring. This includes hardware accelerated scroll-driven animations that are not subject to jank when the main thread gets blocked.
Scroll-driven animations are available in Chrome from Chrome 115 and are the perfect candidate for progressive enhancement.
Watch the video series or read the documentation to learn more about scroll-driven animations.
The episodes
The course consists of 10 episodes and is split into two big parts: an explanation of the core concepts that make up scroll-driven animations, followed by a few practical applications.
- Episode 1: Introduction.
- Episode 2: Core Concepts:
scroll()
andScrollTimeline
. - Episode 3: Core Concepts:
view()
andViewTimeline
. - Episode 4: Core Concepts: Timeline ranges demystified.
- Episode 5: Core Concepts: Timeline Lookup and Named Timelines.
- Episode 6: Practical Application: Add Scroll Shadows to a Scroll Container.
- Episode 7: Practical Application: Animate Elements in Different Directions.
- Episode 8: Practical Application: Animate 3D Models and More on Scroll.
- Episode 9: Practical Application: Scroll Velocity Detection.
- Episode 10: Outro.
The episodes are best watched in order as they build on demos and techniques covered in earlier episodes. The demos and tools shown in each episode are available online and linked in the description.
More resources
- Documentation: Animate elements on scroll with Scroll-driven animations
- Demos and tools: scroll-driven-animations.style
- Get the DevTools Debugger Extension