-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling background-image from css is referring to the wrong image path #1157
Comments
You may like to use this: |
same issue. background: url(../../assets/images/icon-search.png) no-repeat #fff 1rem center; |
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
background-image: url(assets/images/greedygamelogo.png);
This rule tries to find the image in
http://localhost:3000/app/assets/images/greedygamelogo.png
instead ofhttp://localhost:3000/assets/images/greedygamelogo.png
Not sure how to use a background-image from within CSS.
The text was updated successfully, but these errors were encountered: