Hyron• 5,870
@hyrongennike
Posted
Hi @codercreative,
Congrats on completing the challenge
I see you're using margin to try and center the card on page, there is a easier way to do that you can add the following to center the card in the middle of the page.
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
main.container.margin-bottom {
margin: 0;
}
Marked as helpful
0