@M0hamedF
Posted
Hi Henrique
height: 100vh;
display: grid;
place-items: center;
margin: 0;
background-color: hsl(217, 54%, 11%);
}
main{
background-color: hsl(216, 50%, 16%);
/* width: 18%; */ width: 250px;
border-radius: 10px;
/* margin: 150px auto; */
padding-top: 20px;
}```
I changed these 2 parts in your code try it now
i replaced margin: 150px auto;``` with height: 100vh;
display: grid;
place-items: center;
@henmachuca
Posted
Ok @M0hamedF ,
Got it now! Thank you for your patience.
@M0hamedF
Posted
@henmachuca Happy to help 😄.
Marked as helpful