CSS Dojo道場 · practice
All levels

Vertical margins, logically

Level 4 of 10

Your goal

Give the 180 × 70 box 48px of margin on both block sides with one margin-block declaration. It moves to y = 48.

Must usemargin-block
Not allowedmargin-topmargin-bottom
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.