Design comparison
Solution retrospective
Nothing in particular.
What challenges did you encounter, and how did you overcome them?Nothing
What specific areas of your project would you like help with?I tried many approach to get the image right. I first applied a padding to the card container but the padding influenced the space occupied by the div containing the image. This was predictably. So I added a margin to all child except the first to get the spacing right. I don't know if there are other better ways to do this. Another thing is I didn't understand why if removing the flex container from body and giving margin-block of auto to the card it didn't center itself vertically nevertheless I set body min-height to 100vh. The margin-inline of auto worked but block no.
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