
Design comparison
SolutionDesign
Community feedback
- @ObikaviolaPosted 4 months ago
Nice work you did here.
I'll suggest using this code to center it vertically and horizontally using this code:
body { min-height: 100vh; display: flex; flex-direction: column; place-content: center; }
and also remove the padding-top in the body.
That will make it responsive and center aligned in all screen sizes.
Great work 👍🏾
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