Magic Tricks with CSS Houdini
summary
CSS Houdini lets JavaScript plug into the browser render engine via tiny background threads called worklets, with concrete pieces: paint worklet (draw scalable canvas-like images; demo circle works in Chrome Canary with flags), CSS.registerProperty plus Typed OM (typed style values and animatable custom properties), an animation worklet tied to a scroll timeline (off-main-thread parallax demo works in Canary), and a full Layout API (complex spec, few/no implementations yet). Support is experimental, Chrome Canary furthest along, syntax and APIs still changing.
AI-written summary · about
chapters (7)
- 0:00Introduction to Houdini
- 4:14Understanding worklets
- 6:58The Typed OM
- 9:42Custom CSS properties
- 13:15The Paint API
- 17:26CSS Animation API
- 23:26CSS Layout API








