material select 边框的颜色如何改变?
how can the color a material select border be changes?
我正在尝试更改 material select 的边框颜色。
我尝试使用 css 从以下位置更改边框颜色:
对此:
怎么做到的?
感谢帮助!
我使用这些样式规则完成的:
/* Chaning the color of the bottom border of the material select */
.mat-form-field-underline.ng-tns-c166-0.ng-star-inserted {
filter: invert(1);
}
/* Chaning the color of the arrow icon included into the mterial select*/
.mat-select-arrow.ng-tns-c169-1 {
color: black;
}
我只是想知道是否有其他方法可以做到。
我正在尝试更改 material select 的边框颜色。
我尝试使用 css 从以下位置更改边框颜色:
感谢帮助!
我使用这些样式规则完成的:
/* Chaning the color of the bottom border of the material select */
.mat-form-field-underline.ng-tns-c166-0.ng-star-inserted {
filter: invert(1);
}
/* Chaning the color of the arrow icon included into the mterial select*/
.mat-select-arrow.ng-tns-c169-1 {
color: black;
}
我只是想知道是否有其他方法可以做到。