NOTE: / deep / is now DEPRECATED, use: host :: ng-deep in place. Keep in mind: ng-deep is also technically outdated and will be replaced by a combinator, but should be used now
The problem you are working with is related to ViewEncapsulation. This is an annoyance, but from what I was able to collect, it works as intended.
, , . :/deep/
, , , :
/deep/ .mat-input-placeholder {
color:
font-size: 2em;
}
. , , :
/deep/ .mat-input-ripple.mat-focused {
background-color:
}
, : :
:host /deep/ .mat-input-placeholder {
font-size: 2em;
}