CSS Dojo道場 · practice
All levels

Boss: transform the pair

Level 9 of 9

Your goal

Box A: translate (60px, 40px), then rotate 45°. Box B: translate (200px, 20px) and scale 1.5, pivoting on its top-left corner.

Must usetransformtransform-origin
Not allowedwidthheightmarginpositioninset
Elements

Hover one to find it on the stage. Click it, or put your cursor inside its CSS rule, to focus on just that element.

target content boxtarget outer edge (green = matched, red = not yet)your element (hovered or focused)
Feedback updates as you type, and your CSS is saved in this browser. Exact target numbers are in the Target panel.