Design comparison
Solution retrospective
I'd love to hear your comments on my solution
Community feedback
- @HassiaiPosted almost 2 years ago
Add a font-size of 15px/ 0.9375rem to the body this will reduce the font-size of both h1 and p. for the color of p give it opacity of 0.5 for the faded color.
To center .qr-box using flexbox, add a min-height:100vh to the body.
Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1 - @WebDevMirzaPosted almost 2 years ago
Hello, I have examined your code and found some issue. The design is not vertically centered. use
min-height:100vh
andalign-items: center
on flexbox. Font size of h1 is too big. Making it smaller would be the best approach to handle.Thank you.
Marked as helpful1
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