nothing fancy

Please log in to post a comment
Log in with GitHubCommunity feedback
- @dboca93
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
Join 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