Design comparison
SolutionDesign
Community feedback
- @Y-ashbhattPosted 5 months ago
Hello!
Great Solution!
But I have a suggestion you can use:
body{ height:100vh }
A value of 100vh is equal to 100% of the viewport height. This will make the body take full viewport height and help centre the child in page properly.
Marked as helpful0
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