+ 2

background:url("bg.jpg"); what's the function of the url and why is the folder from which the image comes from is not decpared

23rd Mar 2018, 11:46 PM
Adewale Olaoye
Adewale Olaoye - avatar
2 ответов
+ 4
It's referencing the image that'll be used for your background. In that form, it's assuming that it's opening it from the root direction of the file calling for it. You can use that area of the function to specify the location, whether it's on the drive with the files or if it's a URL to an image online. Hope that helps, good luck!
23rd Mar 2018, 11:48 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
okay thanks Marley
23rd Mar 2018, 11:51 PM
Adewale Olaoye
Adewale Olaoye - avatar