Design comparison
SolutionDesign
Solution retrospective
Hi guys, I will always welcome any suggestions :)
Community feedback
- @vanzasetiaPosted over 3 years ago
👋Hi Tom! My name is Vanza!
🎉 Congratulations on finishing this challenge! Like palgramming already said, you can make the
.wrapper
in the middle horizontally by addingmargin: 0 auto
. But if you want to make it vertically and horizontally on the middle of the screen, you can achieve that by doing this:body { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
That's it! Hopefully it's helpful!
0
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