Design comparison
Solution retrospective
I cannot get the desktop version of the image to show when changing via Media Query. Can anyone take a look see what's wrong?
Community feedback
- Account deleted
Hello... Congrats on completing this challenge. 🎉🥳
Regarding your question about the image, if it changes, it's just that they are very similar images and that's why you don't see the change 😥.
Here's a small solution for your image to take up the entire height of the card 🚀(While in desktop view):
image-container { background-image: url(/images/image-header-desktop.jpg); background-size: cover; width: 400px; height: 100%; // add this value ✌️ border-radius: 0px 10px 10px 0px; }
I hope I have helped a little
Happy coding! 🙃
Marked as helpful1@mekonessPosted almost 2 years ago@FLCHRIS I thought I was going crazy for a minute there, haha. Thank you so much for the suggestion! I've corrected it and it solved the other problem, thank you!
1Account deleted@mekoness You're welcome, a pleasure to help you. :D
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