Design comparison
SolutionDesign
Solution retrospective
My first solution. Image is centered on the page and responsive for both desktop and mobile. Feedback is welcome, thank you!
Community feedback
- @fernandolapazPosted over 1 year ago
Hi π, some of this may interest you:
- The main content of every page (the card in this case) should be wrapped with the
<main>
tag.
- The trick of setting the
font size: 62.5%;
is no longer commonly recommended because it can cause issues with accessibility and readability.
- It is better to use
min-height: 100vh;
as usingheight
causes the page to be cut off in viewports with small height (such as mobile landscape orientation).
I hope itβs useful : )
Regards,
Marked as helpful0@sh0910Posted over 1 year agoHi there! Thank you for taking the time to check my code and provide feedback. It is really helpful :)
1 - The main content of every page (the card in this case) should be wrapped with the
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