Design comparison
Solution retrospective
Really pushed my positioning skills with this one!
Community feedback
- @aarsh07Posted almost 2 years ago
Hello Rachel , How are you ?
Your solution is amazing but I will suggest that instead of using as a background img you should create a flex container then inside it you can create two div one for content and second for img and then you should use object-fit : cover property to properly cover img .
In your solution img is not showing properly that is the only thing which is not looking good , everything else is looking good .
I hope this may help you a little bit .
Marked as helpful0@rachelktyjohnsonPosted almost 2 years ago@aarsh07 Hi AK_07! Thanks for your feedback. I have yet to find a good solution for an image that resizes nicely to a div without using background-image, so thanks for this! I will definitely give it a go.
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