CSS Dojo道場 · practice
All levels

Fixed to the viewport

Level 7 of 10

Your goal

Pin the 120 × 50 box 20px from the right and bottom of the viewport with position: fixed. The stage is the viewport here, so it lands at x = 500, y = 230.

Must usepositionrightbottom
Not allowedmargin
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.