In an HTML webpage I created, a stylesheet is attached that, among other things, uses "background-image" to add an image from a CDN, using this code _
BODY{
background-image: url(https://CDN/FILE.jpg);
}
This seems to just create a blank background -- however, when I turn off the style on the Element Inspector and then turn it on again, it works perfectly fine. What am I doing wrong?
Thanks.
You probably forgot
""
around the link. Trybackground-image: url("https://CDN/FILE.jpg");
I'd suggest making an example in codepen if this isn't the case.