Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
To center .container on the page using flexbox, replace the height with min-height: 100vh and add justify-content: center to the body.
You forgot to give the body a background-image with va background-size of contain and background-repeat of no-repeat.
For a responsive content, replace the width of .container with max-width.
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
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