Design comparison
SolutionDesign
Community feedback
- @SaeedAlsayedPosted about 1 year ago
Nice work,
you just need to center your div vertically the way is
body { display: flex; justify-content: center; align-items: center; flex-direction: column; height: 100vh; overflow: hidden; } main { margin:0; }
after you set this code the design will be perfect
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