You Might not Need JS
summary
Claims that many JavaScript motion jobs can move to CSS, using View Transitions API and Scroll-Driven Animations plus newer CSS like interpolate-size and sibling-index. Demonstrations: a CSS 3D rotating portfolio, sticky schedule headers that scale when stuck, animating height from 0 to auto for details, and staggered entry via sibling-index — all working in Chromium and Safari, with scroll-driven behind a Firefox flag but expected by year end. Replacements include scrubbing and appear animations and FLIP-style page transitions, but not WebGL or once-only triggers.
AI-written summary · about
chapters (22)
- 0:00Introduction and speaker background
- 1:46Why move from JS to CSS animations
- 2:49Scroll driven animations overview
- 4:11CSS key frame animations basics
- 5:14Converting to scroll driven animations
- 6:19Animation range properties explained
- 8:26Timeline name for syncing animations
- 9:51JavaScript animations to replace
- 11:36View transitions introduction
- 12:59How view transitions work
- 14:47View transition in action
- 17:56View transition HTML setup
- 19:44View transition states explained
- 21:09View transition JavaScript example
- 23:18Limitations of view transitions
- 24:00Modern CSS techniques demo start
- 25:03Sticky headers with reduced motion
- 26:04Container style queries for scaling
- 27:27Scroll driven animations on cards
- 28:29Sticky workshop cards with height auto
- 30:41Speaker cards staggered animation
- 32:30Summary and call to action
