Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I encountered a problem that was quite simple to solve, but not so obvious to me. Adding padding directly to an image is going to space it away from it's container, making the border radius not visible. So to fix this, I wrapped the img and added padding to the wrapper and border-radius to the img.
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