Design comparison
SolutionDesign
Community feedback
- @dtp27Posted over 2 years ago
Hi Prasanna!
Congrats on your first challenge, and welcome to Frontend Mentor!
Great solution overall. One thing I would recommend to center the overall component on the page vertically is to use Flexbox on the body, along with
min-height: 100vh;
. The minimum height is to ensure that when flexbox is enabled it is centered relative to the entire view.Happy coding!
Dan
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