Kostexx• 120
@Kostexx
Posted
To ensure that your .container is truly centered vertically as well, add height: 100vh; to the body. You use margin for each element instead of using one padding size for the parent element.
Marked as helpful
0
@Kostexx
Posted
To ensure that your .container is truly centered vertically as well, add height: 100vh; to the body. You use margin for each element instead of using one padding size for the parent element.
Marked as helpful
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