wtf(css)layout you can see happening

CSS, with the layout showing

Forty steps through flexbox, twenty-two builds that fail unless several concepts are right at once, and the famous wtfs underneath — margin collapsing, stacking contexts, and the invisible wall inside every flex item. This is the one subject where the output IS the picture, so every problem is rendered rather than described.

Problems

8 problems
#titletopictypedifficulty
1The centred box you cannot scroll toDistributing spaceTeaching stepHard
2Both panels shrink. One of them shrinks twice as hard.SizingTeaching stepHard
3The last row that will not line upWrapping and the align-content trapTeaching stepHard
4Breaking a flex line where you want itWrapping and the align-content trapTeaching stepHard
5The flex item that refuses to shrinkThe min-width:auto floorTeaching stepHard
6The truncation that will not truncateThe min-width:auto floorTeaching stepHard
7The scroll pane that will not scrollThe min-width:auto floorTeaching stepHard
8The Flexbox Holy AlbatrossAdvancedTeaching stepHard

44 of 87 catalogue topics are authored, with 37 drills rehearsing them. Every one of them is judged: each carries a starter that has been shown to fail, at least two different correct answers that have been shown to pass, and a set of near-misses and cheats that have been shown to be caught. Nothing reaches this list until all of that holds.