Positioning with inset
Level 7 of 10Your goal
Pin the absolutely positioned child 40px from the left and right and 30px from the top and bottom of its 300 × 200 parent. The child becomes 220 × 140.
Must use
inset-inlineinset-blockNot allowed
leftrighttopbottomtarget 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.