CSS Dojo道場 · practice
All levels

Packing holes with dense

Level 8 of 10

Your goal

A and B each span two columns, leaving a hole at row 1, column 3. Turn on dense packing so item C backfills that hole (x = 200, y = 0) and item D moves up to row 2, column 3 (x = 200, y = 60).

Must usegrid-auto-flow
Not allowedgrid-columngrid-rowgrid-area
Elements

Hover one to find it on the stage. Click it, or put your cursor inside its CSS rule, to focus on just that element.

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