Design comparison
Solution retrospective
Hello, everyone!
Feel really good about this one! No real difficulties.
Only thing I ask is if something is glaringly wrong or could be done better to please let me know! Thank you very much!
Community feedback
- @correlucasPosted about 2 years ago
πΎHello Trevor, congratulations for your new solution!
As always a great solution! The only thing I think you should change is the properties to make the image responsive, note that when the card scales the image lose its proportions.
Here's my tips for you to fix the image responsiveness:
ADD
display: block
andmax-width: 100%
andobject-fit: cover
to make the image auto-crop when resizing inside the column:img { display: block; object-fit: cover; max-width: 100%; } π I hope this helps you and happy coding!
Marked as helpful1@TactenatorPosted about 2 years ago@correlucas Hello Lucas!
Ah, I did indeed forget that. Thank you for catching that. I will fix that right away.
Thank you once again for your help! It is truly greatly appreciated :)
Take care!
1
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