P
Dilhan Boca• 220
@dboca93
Posted
Hi Erfan,
Good work on submitting tasks on FM. I hope you're enjoying your coding experience.
In order to get your card in the middle of the page properly, try putting the card container in a <main>
element, than apply the following CSS code to that <main>
element:
main {
display: flex;
width: 100%;
min-height: 100vh;
align-items: center;
justify-content: center;
}
That should bring the card into the middle of the page. I hope you found this information helpful, please mark it as helpful if you have time.
Regards Dilan Boca
0