Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
- You need to provide the width: 100% to the image so that it only takes up the available width of the parent container.
- I made a rookie mistake where I was applying the padding to the
img
instead of the parent container.
Community feedback
- @mikewil245Posted 4 months ago
Maybe increase the padding around your
<section class="card-text"></div>
as well , and add somemargin-top
between yourimg
,h1
,p
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