generator-gulp-angular
generator-gulp-angular copied to clipboard
Calling background-image from css is referring to the wrong image path
background-image: url(assets/images/greedygamelogo.png);
This rule tries to find the image in http://localhost:3000/app/assets/images/greedygamelogo.png
instead of http://localhost:3000/assets/images/greedygamelogo.png
Not sure how to use a background-image from within CSS.
You may like to use this: background-image: url('../../assets/images/greedygamelogo.png');
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)), url("/assets/images/greedygamelogo.png);