~/talk

Conditionally Adaptive CSS

Talkat bit summit 2025 · on Thursday, 2025-09-04· [css, frontend-architecture]
slides:none on file

Observation: browsers download all linked CSS but assign higher priority to files whose media matches the current environment, so splitting a big stylesheet into base/mobile/desktop CSS files yields earlier first paint while tablet/desktop chunks load in background. Demo site (single big file vs split files), Chrome/Firefox/Safari profilers and the network panel priority column show rendering triggers after the high‑priority files arrive. Note: @import inside CSS does not get the same prioritization. Tools used: Chrome DevTools performance panel, throttled network and slow-static-server for reproducible results.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:32CSS performance focus
  3. 8:34Render blocking CSS explained
  4. 13:07Testing adaptive CSS approach
  5. 17:02Experiment with media queries
  6. 20:53Real-world demo results
  7. 23:26Browser priority behavior
  8. 26:20Conditional CSS limitations
  9. 27:46Advanced use cases
  10. 30:15Available tools and plugins
  11. 32:46Resources and closing
~/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.