Design comparison
Solution retrospective
Hello everyone, I was struggling to set my desktop background covering the whole screen, how could i make it work?
Community feedback
- @nakoyawilsonPosted almost 3 years ago
I'm not sure if this is what you're referring to but I used the developer tools in chrome to remove "background-size:cover" from your code and that helped the background to look more like the background in the design images.
Marked as helpful1@LeoSouzaNunesPosted almost 3 years ago@nakoyawilson Firstly thank you for your feedback. I made the same process here but the background image just cover 1440px. Do you know if would be possible to change it? I would like make it cover the full width of my body element just like the layout template example.
0@nakoyawilsonPosted almost 3 years ago@LeoSouzaNunes You could try changing your code to background-size: contain to get it to look more like the example.
Marked as helpful1@LeoSouzaNunesPosted almost 3 years ago@nakoyawilson It works, thank you.
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