Design comparison
SolutionDesign
Community feedback
- @KostexxPosted 4 months ago
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 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