QR code component

Solution retrospective
how can I center the card vertically?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @vboechat
Beautiful! But you just forgot the card shadow.
- @kxnzx
Hello @Hassan-Wanas,
Try this:
body { display: grid; place-items: center; margin-top: 20%; }
Also add a max-width and padding on the card.
Hope this helps you further!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord