~/talk

Utility-first CSS: The highs and lows of styling web sites

Talkat HolyJS Piter 2020 · 2020-06-22..06-26· [css, web-performance]
slides:none on file

Argues that a utility-first CSS workflow (Tailwind/Tachyons) lets teams ship with almost no hand-written CSS, using tools like TailwindCSS, PostCSS and Autoprefixer plus live-server and wget to iterate in HTML. Demonstrates rebuilding the conference page, adding a custom gradient utility, and using purge to shrink a default ~1.9 MB / 86k-line stylesheet down to about 14 KB for production, speeding development and reducing maintenance.

AI-written summary · about

  1. 0:00Start
  2. 18:26HELPS AVOID CONTEXT SWITCHING
  3. 19:00MAINTAINABILITY
  4. 20:38COMMON COMPONENTS
  5. 21:49INLINING STYLES IS BAD
  6. 39:51LET'S CREATE A BUILD PIPELINE
~/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.