I have an angular front end in which i have a form with textarea:
<mat-form-field class="full-width">
<textarea class="left-aligned" formcontrolname="x1" matInput placeholder="some text"/>
</mat-form-field>
i also have a scss file for that component with:
mat-form-field{
margin-left:20px;
}
I have tried using selecotors by class
.s {
mat-palceholder:{
font-weight: bold;
}
}
but that didnt work...
How do i make the placeholder text BOLD? How do i make part of the placeholder text BOLD?
i also did: added class name
<mat-form-field class="full-width">
<textarea class="left-aligned x1" formcontrolname="x1" matInput placeholder="some text"/>
</mat-form-field>
added to the scss file
.x1::placeholder{
color: green;
font-weight: bold;
}
but that didnt work..
thanks