~/talk

The End of Media Queries

TalkinItalianat CSS Day 2019 · 2019-06-13..06-14· [css, frontend-architecture]
slides:none on file

Demonstrates alternatives to CSS media queries using Flexbox and CSS Grid techniques (auto-flow: dense, overflow:hidden, reverse ordering) plus a "quantity-query" trick to make components reflow and hide content based on available space. Argues against relying on element/container query polyfills because they add heavy JavaScript and hurt performance, and presents a working video-player widget that adapts from 320px to 1400px without media queries, highlighting the tradeoffs of container/element-query polyfills.

AI-written summary · about

  1. 0:00CSS as a tool
  2. 2:09Web components evolution
  3. 4:59Cascade vs media queries
  4. 5:20Flexbox Grid reflow
  5. 11:38Hiding content without MQ
  6. 14:52Quantity queries for layout
  7. 16:40Card responsive without MQ
  8. 17:46Video player example
  9. 19:12CSS beyond media queries
  10. 20:22Responsive web before MQ
  11. 21:29Closing
~/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.