Design comparison
SolutionDesign
Community feedback
- @Nadine-GreenPosted almost 2 years ago
HEY SASWAT!
I would like to give some possible suggestions on how to improve your code, specifically on how how to center you main container vertically;
I couldn't help but notice that your container was not vertically aligned, what you could do is give the body a display of grid and then use the code
place-items: center
, this will align the container both vertically and horizontally.IF THIS WAS HELPFUL IN ANY WAY, DO NOT HESITATE TO MARK IT AS HELPFUL :)
HAPPY CODING!
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