~/talk

The ABC's of Architecting Better CSS

links:none on file
slides:none on file

A practical path from broken stylesheets to maintainable CSS: explains how specificity and cascade really work (inline = 1.0.0.0, class = 0.0.1.0, id = 0.1.0.0) and shows a Twitter poll where 44%/43%/9%/4% answered a basic color question incorrectly to underline common gaps. Compares approaches: css‑in‑js (styled‑components) bundles CSS with markup, shares tokens with JS but loses single stylesheet caching and is hard to exit; itcss inverted triangle uses 7–8 layered files with a utilities layer often marked important; utility‑first (Tailwind) cuts repetition and uses @apply to build components. Recommends naming (BEMIT), versioning/deprecation, and continuous grooming.

AI-written summary · about

  1. 0:00Intro
  2. 0:34About Me
  3. 0:56What I Know About You
  4. 1:57Lets Talk About Bad CSS
  5. 2:28Bad CSS Will...
  6. 4:05Organizational Challenges
  7. 5:28How Well Do You Know CSS?
  8. 7:25Check For !important Flag
  9. 8:04Selector Specificity
  10. 11:34Sort Order
  11. 12:00Inheritance
  12. 12:35All Together
  13. 15:48So How Do We Write Better CSS?
  14. 17:13Lets Graph the Specificity
  15. 18:38CSS in JS: Styled Components
  16. 19:00CSS in JS Pros
  17. 20:43ITCSS Metrics
  18. 21:52Layers
  19. 27:26ITCSS Cons
  20. 29:03Utility-First CSS: Tailwind
  21. 30:00Utility-First CSS: Cons
  22. 31:41Layer Prefixes
  23. 32:03Breakpoint Suffixes
  24. 32:27BEMIT Example
  25. 35:10Know your Constraints
  26. 37:53Never Done.
  27. 39:05Conclusion
  28. 39:36Caution
~/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.