Single property
<div [style.background-color]="'black'"></div>
Multiple properties at once
<div [ngStyle]="{color: 'white', 'background-color': 'blue'}"></div>
With units
<div [style.font-size.px]="13"></div>
<div [style.font-size.em]="1.5"></div>
<div [style.font-size.%]="45.5555"></div>