CSS Dojo道場 · practice
All levels

Borders on both axes

Level 6 of 10

Your goal

Keep the content and padding. Add a 6px border on the inline sides and a 4px border on the block sides, both solid and any colour. The outer size becomes 244 × 112.

Must useborder-inlineborder-block
Not allowedborder-leftborder-rightborder-topborder-bottom
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.