How can I display a full background image in Ionic 1.2?
-hooks
-platfroms
-plugins
-resources
-scss
-www
-css
-img
-js
-lib
-templates
...
Currently, I have the following HTML structure:
<ion-view id="login" hide-nav-bar="true">
<ion-content padding="true" scroll="false">
...
...
The CSS styling for the background image is as follows:
#login {
background: #1c2627 url("../img/live.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
This styling is defined in /www/css/style.css.
When using the command 'ionic serve', the background image displays correctly. However, when using 'ionic upload' to view it in Ionic View, the background does not appear.
What could be causing this issue?