~/talk

CSS as Bytecode

Talkat ReactiveConf 2017 · on Thursday, 2017-10-26· [css, frontend-architecture]
slides:none on file

Claim: treat CSS as bytecode and stop pretending the cascade is a UI-first API. Uses Elm and the style elements library to define primitives like row/column/spacing/padding/within/align and compiles to JS and DOM. Demonstration shows responsive, centered layout that actually works and enforces accessibility. Reported payoff: an early adopter shrinks ~25,000 → 15,000 lines when replacing Sass, and Elm code at one company yields no runtime exceptions over years.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50The History of CSS
  3. 3:00Separating Content from Presentation
  4. 3:53UserDefined Style Sheets
  5. 5:35What was CSS designed for
  6. 7:33Compilers to JS
  7. 9:00Compilers to CSS
  8. 10:00User Interface abstraction
  9. 10:53Design goals
  10. 12:40Demo
  11. 13:37Column Layout
  12. 14:13Row Layout
  13. 14:48Spacing
  14. 15:15Padding
  15. 16:42Recap
  16. 18:00Fill portion
  17. 19:07Style elements
  18. 19:44Live coding
  19. 21:24Responsive layout
  20. 22:24Accessibility
  21. 23:51Maintainability
  22. 25:44Elm
  23. 26:38Resources
~/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.