Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to create scroll-based animations using the Web Animations API and ScrollTimeline in this 26-minute tutorial video. Explore techniques for building a scroll tracker, implementing a polyfill, creating and attaching timelines, adjusting scroll offsets, and animating elements based on viewport position. Discover methods for animating multiple elements and controlling animations at different page locations. Access additional resources, including a polyfill GitHub repository, Discord community, and related tutorials on CSS-only animations and Intersection Observers. Follow along with timestamped sections covering HTML and CSS setup, timeline creation, and various animation scenarios.
Syllabus
- Introduction
- Creating a scroll tracker - HTML and CSS
- The polyfill
- Creating a timeline for the scroll-tracker
- Attaching the timeline to the scroll-tracker
- Changing the scrollOffsets
- Animating only when an element is in the viewport
- Animating multiple elements
- Animating when the element is in different locations on the page
Taught by
Coding Tech