Answers for "how to dadd style to the existing class in angular"

6

ngstyle

<div [ngStyle]="{'background-color':person.country === 'UK' ? 'green' : 'red' }"></<div>
Posted by: Guest on August-08-2020

Code answers related to "how to dadd style to the existing class in angular"

Browse Popular Code Answers by Language