Design comparison
SolutionDesign
Community feedback
- @HcmwebsPosted over 1 year ago
Hi,
This is good execution; however, I recommend using min-height: 100vh, display: grid, place- items: center instead of the margins. This will center the 'main' on any screen. You can also use flexbox instead of grid.
I hope this is of help.
Regards
Marked as helpful1
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