~/talk

Responsive Components: Present & Future

Talkat CascadiaJS 2021 · 2021-11-03..11-04· [css, web-platform]
slides:none on file

Explains how to make components respond to their own size using concrete patterns: layout-only tricks with flex-wrap + flex-basis, the holy albatross calc technique, and grid repeat(minmax(200px, 1fr)) for automatic columns; JS using ResizeObserver to toggle a class at 480px so any CSS property can change; mentions clamp is viewport-based only; describes container queries with container-type: inline-size and container-name, why loops broke earlier proposals, credits Miriam Suzanne, notes Chrome Canary support and the cq-fill polyfill by Jonathan Neal.

AI-written summary · about

  1. 0:00Start
  2. 5:08CSS Grid
  3. 11:19WHAT ABOUT ELEMENT QUEN
  4. 15:141. Create a Contair
  5. 17:572. Style Childrere
~/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.