Design comparison
SolutionDesign
Community feedback
- @Mahendran-CPosted 8 months ago
congratulations for completing your first challenge! 👌🎉✨
In your body, give min-height:100vh; to center your child div element.
body {
min-height:100vh; background-color: hsl(212, 45%, 89%); display: flex; justify-content: center; align-items: center; font-size: clamp(10px, 4vw, 32px); font-family: Arial;
}
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