Design comparison
Solution retrospective
I couldn't make image be responsive, and I didn't find solution for that.
What specific areas of your project would you like help with?Help with the desktop image, how to set it properly
Community feedback
- @haquanqPosted 4 months ago
Hello @Umar094 👋
Your image is not responsive because you are using fixed
width, height
for it, try usingwidth, height
with % unit or usemin/max-width, min/max-height
. Also, useimg
element for image for better semantic, usebackground-image
with images that serve the decoration purpose.Cheers, have a nice day!!! 😁😁
Marked as helpful1@Umar094Posted 4 months ago@haquanq Thanks for the feedback, First of all I tried like you said, with precentage the two things happened, the image disapears or the main box didn't take all height. I don’t want to correct this anymore, it will remind me of the result)
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