CSS Dojo道場 · practice
All levels

Keep a card together

Level 7 of 8

Your goal

Keep the whole card (heading and body) together, so it moves as one piece to the top of column 2 instead of being split.

Must usebreak-inside
Not allowedbreak-beforebreak-after
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.