~/talk

Solving container queries today

Explains why CSS container queries break browser pipelines and shows concrete, working workarounds: using iframes so media queries resolve to a component, using CSS Grid and object-fit to solve layout without queries, polling with getBoundingClientRect + rAF (works but runs every frame), and newer APIs like ResizeObserver (Chrome-first) and IntersectionObserver for overflow detection. Builds demos — Madeline cow, an Outlook‑style nav that moves items into a submenu, text ellipsing — and measures costs (naive ellipsing costs ~31 ms per item).

AI-written summary · about

  1. 0:00Start
  2. 2:59Container Queries
  3. 6:45Pros and Cons of Iframes
  4. 7:49Faux Grid with Css Flexbox
  5. 10:06Object Fit Color
  6. 11:37Grid Layout
  7. 15:01Resize Observer
  8. 15:19Mutation Observers
  9. 20:03Inter Intersection Observer
  10. 22:17Intersection Observer
  11. 38:15Summary
~/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.