Top "Ng-style" questions

The `ngStyle` directive allows you to set CSS style on an HTML element conditionally.

Change style of pseudo elements in angular2

Is it possible to change style of pseudo elements using [style] or [ngStyle] in angular2? in order to get a …

css angular pseudo-element ng-style
Angular TypeError: name.replace is not a function for ng-style

I'm new to angular and keep getting the following error in the console TypeError: name.replace is not a function. …

angularjs ng-style
How to use ng-style with !important?

Tag Button already has cursor css assigned. I want to override cursor css according to is_active values to disable …

css angularjs ng-style
How to use variable in [ngStyle] in angular?

I want to change position depends on some events. For example at the begining space from top should be 100px, …

css angular ng-style
How do properly use css's "calc()' with ng-style

I have the following inline-styling using Angular's ng-style and css's "calc()', but it didn't work. Can anyone tell me …

css pug calc ng-style angularjs-ng-style
ng-style not working inside nested ng-repeat

I've got the following markup: <li ng-repeat="month in months"> <!-- NOTE THAT THIS IS WORKING IN …

angularjs angularjs-ng-repeat ng-style
Angular 6, color from css file in ngStyle directive

I would like to use my color which is defined in CSS file for my ngStyle directive (which is in …

html css angular ng-style