CSS Dojo道場 · practice
All levels

Sticky, in place

Level 8 of 10

Your goal

Make .child position: sticky with top: 0. Nothing scrolls here, so it stays at the top of its parent; the syntax is what's checked.

Must usepositiontop
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.