3 Column Preview Card Component

Please log in to post a comment
Log in with GitHubCommunity feedback
- @devaramnye
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 helpful
Join 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