Design comparison
Solution retrospective
I am having trouble making the background-image responsive. I would really appreciate your help!
Community feedback
- @hyrongennikePosted about 2 years ago
You can just write a media query to change the background position on mobile.
Marked as helpful1 - @PPechmannPosted about 2 years ago
Hey there :)
Congrats on the solution, it is looking really good!
As Hyron mentioned, you can fix the background with a media query, where you will need to play around with the
background-position
bit.I also didn´t get it 100% to the initial design, but I like to think that I got it close. Feel free to check out my solution to get an overall idea :)
Here you will also find a very in detail guide to media queries, for a more in depth knowledge on them, although I see from previous solutions, that you already used some in the past.
Very well done again, will follow to check your future projects!
Happy Coding :)
Patrick
1
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