How to change the properties of mat-select when the option is on?
<mat-select class="selector"> <mat-option><mat-option> </mat-select> .selector:focus { color: green; }
I tried using focus but it didn't work very well and I could click on the pad to select without opening the options.
Solution: Solved the problem using
.mat-select[aria-expanded="true"] { color: green }
I solved this problem using .mat-select[aria-expanded="true"] { color: green }