I created an outline textbox:
<mat-form-field appearance="outline">
<input matInput placeholder="Username">
</mat-form-field>
I am trying to control the height, the border color using:
.mat-form-field {
height:20px;
border:1px solid #f0f;
}
But the result is far from the desired. Is there a way it can be done? Sample code I created on stackblitz https://stackblitz.com/edit/angular-material-custom-input-j3k2h