Answer the question
In order to leave comments, you need to log in
How to change css of nested element in Angular?
There was a need to override the style of the inner component, but Angular isolates all styles from external attacks. How to solve this problem?
Example: menu.component uses ngx-bootstrap tabs, you need to set a background for them.
Answer the question
In order to leave comments, you need to log in
::ng-deep .tab-class {
background: red
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question