CSS Dojo道場 · practice
All levels

Stretch one axis at a time

Level 5 of 9

Your goal

Stretch the 100 × 100 box to 150px wide and squash it to 75px tall with scaleX and scaleY.

Must usetransform
Not allowedwidthheightmarginpositioninset
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.