QR code component HTML CSS solution

Solution retrospective
First project here
I'm pretty confident with the final look of the card, but not sure about the code itself.
Particularly I'm not that familiar so far with the position attributes. As for now the card is positioned in the center of the page with 'margin' property. so is the img in the card. But I think there is a more clever way to position all the elements in the center of the page/card etc.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on dimakuznetsow'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