Design comparison
Community feedback
- @devaramnyePosted about 1 year ago
Hello there,
I like your work and I have only one tip for future project's. This block of CSS code is to center your project horizontally & vertically. You did everything already correct in your media query by giving the .wrapper a
display: grid
&place-content:center
but the only thing which is missing is themin-height: 100vh
to full fill the requirement to center everything correctly.body { min-height: 100vh; display: flex; justify-content: center * To center the items of the flex container horizontally align-items: center * To center the items of the flex container vertically }
Keep up you work & happy coding!
Marked as helpful0@recre1231Posted about 1 year agoHi! thanks for the feedback, I started front-end a few weeks ago! Actually the problem you are giving me feedback it's the problem I had and couldn't resolve. Thank you! @devaramnye
1@devaramnyePosted about 1 year agoAs I started as well someone gave me the same tip so dont worry 🫶@recre1231
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