【发布时间】:2020-12-28 16:00:55
【问题描述】:
我正在使用 Angular 9 和 Angular Material 10.2.0。
我的代码是:
<mat-form-field>
<input matInput type="text" name="" placeholder="title" id="title" [(ngModel)]="titleValue" >
</mat-form-field>
我关注了how to change text box placeholder color和how-do-i-change-md-input-container-placeholder-color-using-css-in-angular,但是还是不能改颜色,默认还是有的。
【问题讨论】:
标签: html css angular angular-material