I am having trouble making the background color of my footer dynamic. I have tried binding the element to a class or applying dynamic styling, but it doesn't seem to work. Even when I have this in my HTML:
<ion-footer align="center" style="height: 50px" *ngIf="visibility">
<ion-toolbar class="testing"> //or// <ion-toolbar style="background-color: lightgreen">
<ion-title>
.....
And this in my .scss file:
.toolbar-background.testing {
background-color: lightgreen;
color:white
}
//or
.testing {
background-color: lightgreen;
}
Only the static styling is working for me, and I'm unsure how to make it dynamic.
.toolbar-background {
background-color: lightgreen;
color:white
}