~/talk

Pooping out CSS

Talkat CSSConf EU 2013 · on Friday, 2013-09-13· [css]
slides:none on file

At CSSconf EU 2013 an explicitly technical walk through shows how a preprocessor turns SCSS text into an abstract syntax tree, performs reduction to remove variables and nesting, and emits valid CSS; implementation details include simple lexer examples, parser generators (PEG), and the use of rework middleware (TJ’s approach) to manipulate nodes. A demo Express app exposes variables as JSON, maps which selectors each variable affects, and injects just the changed rules so live updates work without full recompilation, proving the idea.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Pooping out CSS
  3. 3:20What is parsing
  4. 4:40JavaScript example
  5. 8:05Structure
  6. 9:15Rules
  7. 10:30Group structure
  8. 11:25Variables
  9. 12:20Syntax Tree
  10. 16:10Data
  11. 17:15Important Modifier
  12. 18:15Rework
  13. 19:55Compilation
  14. 21:50My CSS
  15. 24:30CSS Rules
~/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.