Centre a welcome card

Centre the card horizontally and vertically using flexbox.

Your CSSLayout
Reference & preview5 min · no timer

Reference

Your preview

Checks verify selected layout properties. They are not a pixel-perfect score.

Show solution and explanation

Centre the card horizontally and vertically using flexbox. These checks verify layout properties, not a pixel-perfect score.

.stage { min-height:240px; display:flex; justify-content:center; align-items:center; background:#edf2e6; }
.card { padding:24px; background:#fff; border-radius:16px; }