Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
๐พHello Andrews, congratulations for this amazing solution!
I saw your live site right and everything is really good done, mobile and desktop working really good.
But your desktop solution isn't yet aligned center, to do that you need to use flexbox in the body and add some padding between the main section and the header, I did some changes to your code to fix that, see below:
body { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
Hope it helps, and happy coding!
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