Still not working. I tried this:
.startScreen_mobilecontainer1{
background: url(../../../../files/views/assets/image/back_960x640.png) no-repeat;
}
And this
#startScreen_mobilecontainer1{
background: url(../../../../files/views/assets/image/back_960x640.png) no-repeat;
}
And this
#startScreen_mobilecontainer1{
background: url("../../../../files/views/assets/image/back_960x640.png") no-repeat;
}
And this
.startScreen_mobilecontainer1{
background: url("../../../../files/views/assets/image/back_960x640.png") no-repeat;
}
But nothing worked. What's wrong?
But it works when I use JavaScrip with the code below:
Apperyio ("mobilecontainer1"). Css ({
"background-image", "url (" + Apperyio.getImagePath ("back_960x640.png") + ")"
"background-size", "contain '"
"background-repeat", "no-repeat"
})
The problem of using javascript can not I use CSS Media Query (@media)