CSS Dojo道場 · practice
All levels

A box that keeps its shape

Level 1 of 9

Your goal

Give the 320px-wide box a 16 : 9 aspect-ratio so its height becomes 180px.

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.