Design comparison
SolutionDesign
Solution retrospective
This is my 4th challenge, as I'm getting more and more comfortable with HTML and CSS. I recently learned Flexbox and CSS Grid, and this is my first time incorporating them in a project.
You're welcome to tell me what I did wrong (or right) :D
Thanks a lot!
Community feedback
- @SindhujaBandaruPosted about 2 years ago
Hello Julien congratulations on completing your new project👏
You shouldn't use
display
,width
,height
inside the html.Instead you have to add some changes to the
body
.Use
body{
display:flex;
min-height:100vh;
width:100%;
justify-content:center;
align-items:center;
}
Hope this hepls😃
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