QR code component using margin auto and padding

Solution retrospective
I like how the card itself turned out. All the elements lined up nicely. I would probably work on centering the card better.
What challenges did you encounter, and how did you overcome them?I was having trouble rounding the corners of the image because I originally put the image in a `````` element and that was not showing the rounded corners. To fix this issue I removed the div
element.
How should I go about centering elements vertically so it's always centered.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on mrcordova's solution.
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