Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
Responsive image was too difficult for me. I couldn't figure out how to use a different image for a different screen size.
Community feedback
- @SvitlanaSuslenkovaPosted 2 months ago
You can add 2 images in your html and control them with css. For example, .image-mobile {display: block}, .image-desktop {display: none}, after @media you can switch display. Hope you found this comment helpful :)
Marked as helpful1@lilythelilyPosted 2 months agoThank you, @SvitlanaSuslenkova , for your advice! I will definitely try that :)
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