小编Jar*_*rod的帖子

Change color of matInput

How do I change matInput to a custom color. I want to change the placeholder and underline color.

I have read through most of the posts and could not find a solution to change the underline.

  <mat-form-field class="example-full-width">
    <input matInput placeholder="Favorite food" value="Sushi">
  </mat-form-field>
Run Code Online (Sandbox Code Playgroud)

Stackblitz example

Image example

material angular stackblitz

6
推荐指数
4
解决办法
1万
查看次数

标签 统计

angular ×1

material ×1

stackblitz ×1