
Design comparison
SolutionDesign
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@KonradJam
Hello @Jewalikar-Nitin!
Well done! A few tips for you:
- Use relative units like
rem
orem
instead ofpx
. - Don't set a strict height dimension for your card. It should fit the content.
- Use
max-width
instead ofwidth
, or even better, usemax-inline-size
- Set
max-block-size
andobject-fit:cover
for<img>
Marked as helpful - Use relative units like
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