Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted over 1 year ago
There is no need to give the body a background position.
In the desktop design, add a background-size of cover to the body and in the mobile design change the value of the background-size to contain.
For the left and right-sides spaces of the page, give the main and header a width of 80vw and margin: 0 auto or a max-width of 1440px, a width of 80% and margin: 0 auto.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful0
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