
Design comparison
SolutionDesign
Community feedback
- @BigNet90Posted about 2 months ago
You've done a great job. But you don't need to give your body specific width that's why the body content is out of the viewport. And also you don't to specify the content position. Instead try the code 👇
body{
display: grid; width: 100%; min-height: 100vh; justify-content: center; overflow:hidden;
}
Well done once again.
Marked as helpful1
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