Design comparison
SolutionDesign
Solution retrospective
For the desktop view, image is not occupying the whole div element. Please suggest which property I can use for it. Please review the code, your feedback and suggestions are valuable for me!
Community feedback
- @tamorosoPosted over 3 years ago
You could overcome your problem by importing your image as a background instead of putting it in your html file. You can then specify that your text div will take 50% of the card width and the other 50% is for the image. I've done the challenge and proceeded like this. I will upload it soon so you can see what i'm talking about.
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