~/talk

Liven up your websites with Scroll-Driven Animations & View Transitions

Talkat CSS Day 2023 · 2023-06-08..06-09· [web-animation, css]
slides:none on file

Demonstrations show one line of JS — document.startViewTransition() — that snapshots before/after DOM states and animates pixels (works but captures images not live elements, overlays can eat clicks and interrupted transitions jump to the end). Scroll-driven APIs use CSS scroll-timeline and view-timeline with animation-duration:auto and animation-range to run off the main thread; shipped in Chrome 115 (composited animations deferred to Chrome 116), includes tools and examples (video sync, React hook, scrolldrivenanimations.style).

AI-written summary · about

  1. 0:00Introduction
  2. 4:46User preferences for animations
  3. 5:06View Transitions API basics
  4. 8:57How view transitions work
  5. 13:33View transition pseudo-elements
  6. 17:43Customizing view transitions
  7. 23:18View transitions in frameworks
  8. 23:41Multi-page view transitions
  9. 28:56Scroll-driven animations intro
  10. 31:06Why scroll-driven animations matter
  11. 33:13Scroll timeline basics
  12. 36:20Reading progress indicator
  13. 39:37Animation range for scroll effects
  14. 42:26View timeline tracking
  15. 46:02Keyframe control for animations
  16. 49:28Debugging scroll animations
  17. 52:16Timeline scope mechanisms
  18. 54:46CSS animation pitfalls
  19. 55:30Syncing video to scroll
  20. 57:15Compositor limitations
  21. 59:23Resources and closing
~/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.