Design comparison
SolutionDesign
Solution retrospective
can any one find the bug in my background- img ! i tried every thing.
Community feedback
- @rfilenkoPosted over 4 years ago
Hi, you are defining backgorund in your css file, so path to the image should be relative to this file. Learn how to use browser's dev tools to debug issues like that😉
Roman
1 - @varunbhalla19Posted over 4 years ago
Yep, use
- url("../image/bg-mobile.svg"); * instead of
- url("image/bg-mobile.svg") ; *
because your style.css file is not in as same directory as image folder.
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