Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
To center .card using grid: add min-height: 100vh to the body. Give .card-img a max-width of 100% instead of a height value. Use rem or em as unit for the padding, margin and width values. For more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
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