Practice ยท 2 of 3
Modify: Space the Card
The .card is cramped. Without changing its width or border:
- Give the card padding: 1.5rem (breathing room *inside*).
- Give it margin: 0 auto 1.5rem โ centered horizontally (the auto does it), with bottom margin for the next section.
- Give it a border-radius of 8px.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: The Box Model โ Practice