Practice · 3 of 3
Center a Card Perfectly
CHALLENGE
Difficulty: beginner+25 XP
Make .stage a flex container that centers .card both horizontally and vertically, and give .stage a min-height: 100vh so centering has room.
Rules:
- display: flex, justify-content: center, align-items: center on .stage.
Press Submit to check your solution.
Back to lesson: Practice: Flexbox — Practice