+ 2
how to set up background-image
i tried everything single and doble quotes, backslash forward slash
7 Réponses
+ 4
example css:
body{
background-image: url("http://www.sololearn.com/uploads/css_logo.png");
}
+ 1
right one:-
body {background-image: url ("///F:/photos/vivek/rock.jpg");}
it will use forward slash(/) after "F:" not backward slash\
0
in?
Html or CSS?
0
KrOW Your code is Right 😀
0
If you try to do that with smartphone, I think all the time it may not work!! You should use the Dropbox method for uploading image or background image from your smartphone!
https://www.sololearn.com/discuss/1054246/?ref=app
0
what is fault in this:
body {background-image: url ("///F:\photos\vivek\rock.jpg");}
0
Try without quotes.
i.e.
background:url(https://image.png). works for me .