Design comparison
SolutionDesign
Community feedback
- @james-rodPosted over 1 year ago
Great job on the Challenge!
I have a solution to make your outer-container div center in place! I recommend that you use a main tag as a semantic element and once you add it inside the body, use a flexbox to align everything center!
<body> <main> <div class= "outer-container"> </div> </main> </body>
main{ display: flex; justify-content: center; align-items: center; min-height: 100vh; }
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