Design comparison
SolutionDesign
Solution retrospective
how do I align this card vertically centered, Somehow I centered it using vh25, but Im not sure its the correct way of doing it, Kindly help me with this, Thank you
Community feedback
- @Parvez785Posted over 1 year ago
To center the card vertically Use below properties on body or container you are using
display: flex justify-content:center; align-items:center; height:100vh
2
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