~/talk

Container Queries: The Past, Future, and How You Can Actually Even Use Them Today

Talkat CSSconf EU 2018 · on Friday, 2018-06-01· [css, frontend-architecture]
slides:none on file

Explains why native container queries are hard, demonstrates a practical pattern using ResizeObserver plus CSS containment to avoid infinite-layout loops, and ships a working demo that degrades to plain CSS without JavaScript. Claims ResizeObserver is available to over two billion users, shows polyfill paths, and implements responsive components with custom elements so they work in IE and even when JS is disabled. Presents actual code, performance tradeoffs, and which browser primitives matter now.

AI-written summary · about

  1. 0:00Intro
  2. 0:24History
  3. 6:32Infinite Loops
  4. 8:21The Cascade
  5. 16:31Responsive Components
  6. 21:50Container Queries
  7. 25:23Predictions
~/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.