QR Code Component using HTML & CSS

Solution retrospective
When I padded the QR image and started to adjust the border-radius, it was a bit wonky because the image isn't lined up with the border. I'd like to use the same border-radius for both the container and the image itself unless this is just something that I'd have to adjust all the time. Is there a different/more efficient way of doing the above adjustment?
Thanks for the help!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rafael'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