CSS Dojo道場 · practice
All levels

rgb() and rgba()

Level 3 of 9

Your goal

Make .box 180 × 90 with 20px of padding on every side (outer size 220 × 130). Set color to rgb(255, 99, 71) and background-color to the translucent rgba(255, 99, 71, 0.4). opacity is not allowed.

Must usecolorbackground-color
Not allowedopacity
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.