~/talk

The Future with Scroll-Driven Animations in CSS

Talkat CityJS New Delhi 2024 · 2024-11-16..11-17· [web-animation, css]
slides:none on file

Scroll position drives CSS animations by switching an animation from the document timeline to animation-timeline: scroll or animation-timeline: view, letting a keyframed ball roll, a masonry gallery slide, and an image zoom to full screen without JavaScript. Uses compositor-safe transforms (translate/scale/rotate and opacity), plus animation-range to control start/end (examples use animation-range: contain and entry). Support is currently Chrome/Edge only; use progressive enhancement or a JS polyfill and respect prefers-reduced-motion.

AI-written summary · about

  1. 0:00Introduction to scroll animations
  2. 3:15Why use CSS for scroll animations
  3. 11:25How scroll-driven animations work
  4. 22:16View timeline and animation range
  5. 32:50Advanced scroll animation demos
  6. 36:01Dos and don'ts for scroll animations
  7. 39:16Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.