Design comparison
Solution retrospective
Hello every one, I have completed this challenge but the hero image looks a little bit off. How can I fix it?
Community feedback
- @DavidMorgadePosted over 2 years ago
Hello mahdi congrats on finishing the challenge!
It seems that your image brokes a bit when shrinking the screen, try adding
object-fit: cover
instead ofobject-fit: fill
, I would also change the grid columns to 55% first column and 45% second column.With this fixes I think the image gets a little bit better!
Hope my feedback helps you, if you have any questions don't hesitate to ask!
Marked as helpful0@MahdiSohailyPosted over 2 years ago@DavidMorgade Thanks for your feedback. I accidentally forgot to change the
object-fit:
value tocover
while testing the available options.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