ion-content {
// Workaround for issue related to css varialbes
// being recalculated with DOM changes
// https://github.com/ionic-team/ionic-framework/issues/17494
// https://github.com/ionic-team/ionic-framework/issues/16678
&::part(background) {
background: url('...') no-repeat center center / cover;
}
...
...
}