CSS Dojo道場 · practice
All levels

Left and right pages

Level 5 of 9

Your goal

Give left pages a 2cm right margin and right pages a 2cm left margin, using @page :left and @page :right. The preview is fixed; the syntax is checked.

Must usemargin
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.