Hadi homaei• 190
@FisherSHADOW
Posted
well done keep going <3
Marked as helpful
0
@FisherSHADOW
Posted
well done keep going <3
Marked as helpful
@rrebolledo90
Posted
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 helpful
@BiG-ADLER
Posted
@rrebolledo90 Ok, Sure i will do this next time. Thank you very much
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