The End of Global CSS
summary
Argues that global CSS is unnecessary by showing a working workflow: CSS Modules plus webpack css-loader and postcss-local-scope turn every stylesheet into locally scoped classes, generate hashed global names, and enable composition across files. Describes an open source demo, a postcss plugin, and a static-site webpack plugin used at SEEK; build-time only, no JS runtime dependency, and the feature lands in webpack so it actually works in production.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:14CSS at Scale
- 5:21Components
- 7:18Webpack
- 9:20BEM
- 10:38Local Scope
- 12:39Naming Collisions
- 15:03Post CSS Local Scope
- 21:19The Future
- 22:00Conclusion








