~/talk

CSS Containers, What Do They Know?

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

Explains why container queries were “impossible” and how CSS containment + a breaking rule for layout loops makes them viable, shows container-type: inline-size as the practical API, demos include nested stress tests (36 levels) and a bookstore component that adapts as it moves, announces full support in major browsers plus a Chrome Labs polyfill, shows container query units (cqw cqh cqmin cqmax) that fall back to viewport, and notes 16 as a cited heuristic for “how many containers.”

AI-written summary · about

  1. 0:00Introduction
  2. 9:43What do containers know
  3. 16:18Why does it work
  4. 16:36Why they shouldnt work
  5. 25:00Size containment
  6. 26:46Style layout containment
  7. 29:08Container types
  8. 31:45Container queries vs media queries
  9. 37:34Container measurements
  10. 39:59Container query units
  11. 41:09Small viewport units
  12. 45:03Style queries
  13. 46:23Style on normal properties
  14. 51:59State queries
  15. 53:44Questions
~/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.