Background Image with css in Laravel
Error: Failed to load resource: the server responded with a status of 404 (Not Found)
I face the same problem and solved it just now. My css code was
background: url(images/banner.jpg);
and the error was Failed to load resource: the server responded with a status of 404 (Not Found)
. The solution is adding two dot '.' and a single slash '/' before images background: url(../images/banner.jpg);
Now the image has been appeared. My images and css folder in my project public folder and banner.jpg is in the images folder.
Comments
Post a Comment