Length 14:32What they got WRONG with CSS
About this video
Kevin Powell walks through a list of CSS features that work in surprising or unhelpful ways, including box-sizing, collapsing margins, z-index, flexbox alignment and !important. It is aimed at people who already write CSS and want to understand its quirks.
What you’ll learn
- Predict how collapsing margins and z-index stacking behave in layouts
- Choose flexbox alignment and shape-outside for common layout problems
- Avoid pitfalls with !important and comma-separated selectors










