Design comparison
SolutionDesign
Community feedback
- @IzykGitPosted 9 months ago
Looks great.
For your code the easiest and best way to center a div in the middle of the screen is.
body: { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
Hope this helps!
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