Design comparison
SolutionDesign
Community feedback
- @alexrtmPosted 3 months ago
The image should be centered in the component. One way to achieve this is to set the image to
display: block
and usemargin: auto
(make sure to also give the image amax-width: 100%
to prevent overflow).The first paragraph should also have its
text-alignment
be center.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