ng style syntax in angular 8 code example Example: ng style <some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element>