Design comparison
SolutionDesign
Solution retrospective
I had a lot of problems with the image, the worst one was with "object-fit: cover". It wasn't working and I'm not sure I fixed it well.
Community feedback
- @ixtkPosted over 3 years ago
I would make media query breakpoint earlier than 1200px, the image gets too big and there's lots of free space around stats section. I had some issues with object-fit: cover too, but ultimately you need to set height and width on the image for it to work. Keep the container dimensions in mind as well if you're setting them with relative units like %.
0
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