Angular 6 (NgStyle & NgClass)
1 min readOct 21, 2018
NgStyle
<div [ngStyle]=”{‘background-color’:’green’}”></<div>
— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — ngClass
<div ngClass=”main”>
Get Ujjwal Technical Tips’s stories in your inbox
Join Medium for free to get updates from this writer.
Press enter or click to view image in full size![]()
Press enter or click to view image in full size![]()
Press enter or click to view image in full size![]()






