Design comparison
SolutionDesign
Solution retrospective
I don't understand why is there some spacing under the image. Please help me if you have solution for that
Community feedback
- @fileccPosted over 1 year ago
🌈 Hi and congratulations for completing a new challenge on Frontend Mentor!
The 'some spacing' under the
img
is because of how image are displayed in HTML. Because of the fact that they are 'inline' element . Try writing in your cssimg { display: block; }
and tell me if it's all solved.
I hope you'll find this helpful 👍 and happy coding! 🥰😁
1
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