Design comparison
SolutionDesign
Community feedback
- @ShyneADLPosted about 1 year ago
Hey there, great work but I noticed your design is only centered horizontally, if you want your element to be both vertically and horizontally centered, set the height of the body to 100vh, that's going to align the element vertically when you use align-items:center in the flex-box.
Nicely done👏
1
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