Design comparison
SolutionDesign
Solution retrospective
Adoraria receber feedbacks.
Community feedback
- @rafaelvieiracostaPosted over 2 years ago
Good work! 👍 It's really impressive to see that you didn't use any display
flex
orgrid
to solve the challenge, you have a lot of patienceI have a tip for you to ensure the centering of your component independent of the screen, in case you want to test:
- Remove the
margin-top: 40px auto
from your#container
and add the following code to thebody
:
body{ margin: 0; display: grid; place-items: center; min-height: 100vh; }
0 - Remove the
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