Rafael• 460
@rafaelvieiracosta
Posted
Hi! @NitinSaini007 You did a great job ✨
I have a tip for you to ensure the centering of your component regardless of the screen:
- Remove the
margin-top: 70px
from your.container
, then add the following code to thebody
:
body{
display: grid;
place-items: center;
min-height: 100vh;
}
0
Nitin Saini• 50
@NitinSaini007
Posted
Hi! @rafaelvieiracosta Thanks for adding your valuable comment.
0
Rafael• 460
@rafaelvieiracosta
Posted
@NitinSaini007
I saw that you applied what I said, but it lacked a -
in the min-height
to work properly
Thanks for reading my comment 👍 Have a good and happy coding
0