I am trying to use a background image in my Worklight project. Everything works fine when i tried to run my code without worklight (I'm using notepad++ and run it on my browser).
However, my background image suddenly disappear when I use Worklight (i mean i copy - paste the code and edit the references), but other image (which use the src
tag) is still there.
This is my css code:
body{
background:url(../images/background.png) no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
This is the screenshot :