Design comparison
SolutionDesign
Solution retrospective
What causes the slight lip from the div.maincard under the image?
Community feedback
- @riverCodesPosted over 2 years ago
hey, good job on the challenge! You actually don't need the div.maincard there, you can just have the img element on it's own.
Besides that, I actually don't know why that lip is occurring. I tried a bunch of things but the only thing that worked was hard coding a height of 251px. But that is wrong. It might be helpful to ask in the slack community as I am also interested in knowing why!
0
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