
Design comparison
SolutionDesign
Community feedback
- @AdrianoEscarabotePosted over 2 years ago
Hello everything is fine?
I looked at your project here and saw that it is not centered, but I have a tip for you about this:
1-
body { display: flex; justify-content: center; align-content: center; align-items: center; min height: 100vh; }
By adding this code to your project, our
main
tag will be centered.Hope it helps... 👍
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