~/talk

How JavaScript Changed CSS

TalkinItalianat CSSDay 2018 · on Friday, 2018-03-16· [javascript, css]
slides:none on file

The talk explains how JavaScript changed how CSS is authored and delivered: Node and PostCSS enable Sass and CSS Modules to be compiled in a JS build so styles are file-scoped and loaded on import; runtime JS objects share breakpoints and color tokens with Sass. It covers CSS Modules to avoid global classname collisions, styled-components for component-scoped, testable styles that can export to design tools, visual regression testing with Backstop and Storybook in CI, and the emerging Houdini Paint API in Chrome Canary for JS-driven paint worklets.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50JavaScript in CSS history
  3. 5:02JavaScript for CSS
  4. 7:08CSS Modules fixes
  5. 10:47CSS class conflicts
  6. 12:35Sass and JS variables
  7. 15:50Dynamic breakpoints
  8. 17:39Runtime CSS
  9. 19:03Custom props animations
  10. 20:12Reducing repetitive code
  11. 21:17Testing CSS with JS
  12. 22:44Styled components
  13. 25:46Component design tools
  14. 26:07Automated visual testing
  15. 28:17Houdini future
  16. 30:01Houdini possibilities
  17. 30:44Conclusion
~/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.