Refactoring (the way we talk about) CSS
summary
Argues CSS layout is a coherent system centered on the display property, not a collection of tricks, and shows concrete semantics like display:block grid (outer/inner types) and flow-relative logical properties so layouts flip with writing-mode. Demonstrates content-sizing keywords min-content / max-content, uses the Firefox grid inspector to visualize tracks, cites browser uptake (Firefox 70 implements new display syntax) and notes features are implemented but uneven so feature queries and progressive enhancement remain necessary.
AI-written summary · about
chapters (6)
- 0:00Start
- 3:13Understanding display
- 5:26Changing the value of display changes that element and its direct children.
- 11:00Logical Properties & Values
- 14:33justify-content In Grid, inline dimension space distribution between tracks
- 15:42justify-content In Flex, main axis space distribution between flex items








