Design comparison
SolutionDesign
Solution retrospective
I am open to suggestions and tips
Community feedback
- @mohamedmostafakhudariPosted about 2 years ago
You have done a great job here, I recommend using these properties for the image element
- object-fit (https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit) - object-position (https://developer.mozilla.org/en-US/docs/Web/CSS/object-position)
To avoid the image distortion when it is stretched.
Marked as helpful0
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