~/talk

You've been doing CSS wrong

Talkat ConfrontJS 2018 · on Monday, 2018-10-29· [css, developer-experience]

Claims that CSS gets treated as copy‑paste styling not programming and that a Software‑Engineering approach — tests, platform features, and CSS‑in‑JS — improves it. Builds simple button variants, shows 35 lines per button ballooning to 105 lines then reduces to ~80 through class abstractions but introduces a disabled hover bug caused by specificity; fixes it with :enabled qualifiers. Demonstrates a small React styled-components demo (rough setup, mostly working) and argues to drop BEM in favor of testable, platform‑aware patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 3:36Duplicating CSS problems
  3. 9:34CSS is not dumping code
  4. 12:26CSS abstractions
  5. 15:42Cost of simple abstractions
  6. 17:30Refactoring lessons
  7. 21:05Testing CSS safely
  8. 22:14Embrace CSS platform
  9. 27:45Q&A
~/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.