Design comparison
SolutionDesign
Community feedback
- @rrebolledo90Posted over 1 year ago
Great job on this. I noticed that you added some individual margins on your main. You can achieve the same results if you remove the following.
main {
margin-left: 540px; margin-top: 250px;
}
Add this to your body. In this case you want to use vw instead of height 100%
Body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
Marked as helpful0@BiG-ADLERPosted over 1 year ago@rrebolledo90 Ok, Sure i will do this next time. Thank you very much
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