@Hassiai
Posted
There is no need to give the body and html a width and height values.
To center .card on the page using flexbox, replace the height in the main with min-height: 100vh.
You forgot to give the body a background-image with a background-size of contain ana background-repeat of no-repeat.
For a responsive content, replace the width in .card with max-width and increase its value for it to be equivalent to the design. max-width: 432px which is 27rem/em
In the media query you only have to change the background-image of the body.
the background-images is in the images folder in the zip folder you downloaded. Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
@JoshuaMeeks
Posted
@Hassiai Thank you Hassia