Design comparison
Community feedback
- @HassiaiPosted over 1 year ago
There is no need to give .container a width value. Change the value of the background-size to contain.
background-size: contain
To center .top on the page using flexbox, replace the height in .container with
min-height: 100vh
.For a responsive content, replace the width in .top with max-width and increase it value for it to be equivalent to the design.
max-width:432px which 27rem/em
This challenge requires a media query, in the media query you only have to change the background-image of .container. For more on media queries, click here
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