CSS Dojo道場 · practice
All levels

Height first, width follows

Level 2 of 9

Your goal

The box is 180px tall. Give it a 4 : 3 aspect-ratio so its width becomes 240px.

Must useaspect-ratio
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.