CSS Dojo道場 · practice
All levels

Hidden contains floats

Level 9 of 10

Your goal

The grey parent has collapsed to 0px tall. Make it wrap its 100 × 60 floated child with overflow: hidden, so the parent becomes 200 × 60.

Must useoverflow
target content boxtarget outer edge (green = matched, red = not yet)
Feedback updates as you type, and your CSS is saved in this browser. Exact target numbers are in the Target panel.