how to import page in ?
home.scss
page-home {
.HomePage {
background-image: url(â./assets/imgs/background01.jpgâ);
background-repeat: no-repeat;
background-size: cover;
}
}
Check here some simple theming hacks for Custom Fonts, UI Components and Adding background images to pages in Ionic 4 Application
For Background Image
ion-content{
âbackground: url(./assets/images/bg1.jpg);
âbackground-repeat: no-repeat;
âbackground-size: cover;
}
Source Link: https://www.freakyjolly.com/ionic-3-4-how-to-change-css-custom-properties-of-ui-components