Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted over 1 year ago
To center .container on the page using grid add min-height:100vh to the body and replace justify-content: center with justify-items: center. or align--items: center with align-content: center. For centering using grid Click here
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 helpful0@nunes1886Posted over 1 year ago@Hassiai thank you for the tips. I will make the permits. thank you very much!
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