CSS Dojo道場 · practice
All levels

Clip to a polygon

Level 2 of 8

Your goal

Make .box 240 × 200 and clip it to an upward-pointing triangle with clip-path: polygon(...).

Must useclip-path
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.