Data binding to change div background color not working

If you can find my post earlier… You’ll see that this will not work in Safari. You will need to set the class and not the style. Style is read only you’ll need to use [(ngClass)]=“bar1color” or something along those lines.