Design comparison
Solution retrospective
It was a bit tricky to get the grid-container to be centered, but I finally resolved it by giving my <main> a flex display and a min-height of 100dvh. (Thanks to the advice from my previous project from Raphael Bröderbauer :D ) Then on smaller screens I just added a bit of a margin on both top and bottom for better looks.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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