Godzilla CSS
summary
Recommends version control plus build tools like gulp/grunt and autoprefixer, uses a pre/postprocessor for imports, variables and mixins but explicitly avoids extends. Advises a reset for complex apps, a BEM naming system and “classes only” selectors to keep specificity low. Favors componentized CSS with styles colocated with markup so refactors don’t break (Calypso rearrangement succeeds), enforces PR reviews, limits global selectors, and avoids costly repaints, box-shadow at scale, inline styles and the universal asterisk.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:43Essential CSS tools
- 3:12Preprocessor features
- 5:01Managing global scope
- 6:26BEM naming conventions
- 7:53Classes only approach
- 9:17Avoid nested selectors
- 11:01Media query best practices
- 12:04Component-based CSS
- 15:14File structure setup
- 16:40Setting CSS rules
- 17:44Code standards
- 19:11Open source considerations
- 21:17Browser support tips
- 23:03Performance overview
- 26:54Avoid slow selectors
- 28:42Q&A session
