CSS Dojo道場 · practice
All levels

Horizontal margins, logically

Level 3 of 10

Your goal

Give the 180 × 70 box 40px of margin on both inline sides with one margin-inline declaration. It moves to x = 40.

Must usemargin-inline
Not allowedmargin-leftmargin-right
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.