mat input change placeholder color

81

::ng-deep .mat-input-element::placeholder{
    color: red;
}
.container {
  .mat-form-field-outline,
  .mat-form-field-empty.mat-form-field-label,
  .mat-form-field-label,
  .mat-form-field-underline,
  .mat-input-element,
  ::placeholder {
    color: $white !important;
  }
}

Comments

Submit
0 Comments