Design comparison
SolutionDesign
Solution retrospective
is it good ?
Community feedback
- @HassiaiPosted over 1 year ago
To center the section on the page using flexbox, replace the height in the body with min-height: 100vh.
To center the section on the page using flexbox: body{ min-height: 100vh; display: flex; align-items: center; justify-content: center; }
Give .image a max-width of 100% and the img a width and height of 100%.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
1 - @Mostafa-Ayman1Posted over 1 year ago
Thank you very much for that advice, and I have already applied those tips. You can see them here and give me a review on them https://www.frontendmentor.io/solutions/qrcodecomponentmain-uh1bAIMHZ8
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