Design comparison
Solution retrospective
-
This project exposed some gaps in my knowledge on how to handle image scaling. At the very start of the desktop-size breakpoint the image was quite distorted. I would love to know your feedback on how you would approach having it maintain the proportions.
-
I also faced an issue on mobile-table sizes where the parent div of the main image had a bigger height than the image itself despite setting it to 100%. My solution was to set the image
display
toblock
, but can't help to wonder if this is a bandaid solution?
Community feedback
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