Submitted almost 2 years ago
project made to practice basic styling
@RafaelAF
Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
Replace the section tag with <div> and the header tag with the main <tag> to fix the accessibility issue.
Give the styling of .container to the body with the exception of the display grid and its properties.
For the right and left sides of the page, give .container a max-width of 1440px, width of 80% and margin:0 auto.
.container{ max-width:1440px; width:80%; margin: 0 auto; }
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
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