Design comparison
SolutionDesign
Solution retrospective
please comment if you have any input
Community feedback
- @prantiknoorPosted over 2 years ago
Hey @rorozoamuhammad. I have a recommendation to use
object-fit: cover
in img. So the image will be looked better.main header img { width: 100%; height: 100%; object-fit: cover; }
Secondly, You should research about
picture
tag. It would be better if you used it in this project. 🙂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