Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
There is no need to give the main a width value, margin value and a background-color. Give the background-image you gave to the main to the body. Add a background-size of contain to the body.
For responsive content, replace the width in .card with a max-width and increase the value.
In the media query there is no need to give the main a width value rather change the background-image of the body.
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