【问题标题】:how can the color a material select border be changes?材质选择边框的颜色如何改变?
【发布时间】:2021-11-30 12:42:24
【问题描述】:

我正在尝试更改材质选择的边框颜色。 我尝试使用 css 更改边框颜色: 对此: 怎么可能?

感谢您的帮助!

【问题讨论】:

    标签: css angular angular-material material-design


    【解决方案1】:

    我使用了这些样式规则:

    /* 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;
    }
    

    我只是想知道是否有其他方法可以做到这一点。

    【讨论】:

      猜你喜欢
      • 2022-01-12
      • 2021-12-26
      • 2022-06-28
      • 2019-09-26
      • 2021-06-22
      • 2020-06-13
      • 1970-01-01
      • 2021-09-17
      • 2020-03-07
      相关资源
      最近更新 更多