
Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I applied a border-radius to the outer div of the QR code image, but it did not affect the image itself. I found two solutions on Stack Overflow.
1. Outside approach: Set the outer div's overflow property to hidden, which allows the border radius to take effect.
2. Inside approach: Uses the "inherit" value for border-radius on the inner image, enabling it to match the outer div's border radius.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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