Design comparison
Solution retrospective
- Putting a white background with an image inside of it with text
Community feedback
- @HassiaiPosted almost 2 years ago
The body has a wrong background-color. Use the colors that were given in the styleguide.md found in the zip folder you downloaded.
Increase the max-width of .background for it to be equivalent to the width of the design.
max-width: 320px
. Give the img a max-width of 100% instead of a width.Give h1 and p the same font-size of 15px which is 0.9375rem and the same margin-left, margin-right and margin-top values. Give p a margin bottom value.
Use relative units like rem or em as unit for the padding, margin and width 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 helpful1@danyx75Posted almost 2 years ago@Hassiai Thank you for the information that is something I was having a hard time was making the background a little more bigger or almost having the right size
0
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