I'm my html page I have a ion-content with the class getstart, with a background image, placed in assets/img. It works perfectly into the web browser, but wen I test the app with the apk, the background remains white.
I know that It's a recurrent question, but all the answers that I found (in this and other sites) don't work for me.
This is my scss code, placed inside app.scss
.getstart{
background: url('../assets/img/venice.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
}
I tried changing che image url like '/assets/img/venice.jpg' , but nothing worked.
I'm really stuck :( Thank you in advance!
SOLVED: Silly mistake. My background image was venice.JPG and not .jpg so the apk didn't recognize any image. I changed my extension's file an all worked. Thank for the help!