Nothing like your <link> . Check if the file really exists, and if the html page is in the same directory as the CSS folder. Otherwise, the file path is incorrect.
If the image does not appear, it is possible because it does not match the same path as .css , so you should also change the link.
Suppose your image is a single folder up the css file. Then you should change the url:
url("../nuotraukos/bg.png");
It is also not recommended to use a div to set the background, so instead of using a div to set the background, set the background to <body> and stretch it.
body { background-image: url("http://images.alphacoders.com/538/53823.jpg"); background-size:cover; }
<head> </head> <body> </body>
source share