~/talk

Container queries, the next step towards a truly modular CSS

Talkat JSWORLD Conference 2022 Online · 2022-02-09..02-23· [css, web-platform]
slides:none on file

Container queries let each component own responsive rules by querying ancestor container dimensions via the new container property and the @container rule (syntax mirrors @media), relying on CSS containment for performant isolation. Examples include a responsive shopping‑cart component and SVG sprite images that adapt at different sizes and they work in demos. Experimentation runs in Chrome Canary behind enable‑container‑queries or via a JavaScript polyfill; production use is not recommended yet.

AI-written summary · about

  1. 0:00Intro
  2. 1:37Maartens background
  3. 2:09What is container queries
  4. 3:35Additional customization options
  5. 5:43Why container queries
  6. 11:46Experiments
  7. 12:48Use case
  8. 13:37SVGs
  9. 15:51Outro
~/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.