I have this in my HTML:
<label class="control-label" for="firstName">{{ 'OA_FIRST_NAME' | translate | uppercase }}<sup>*</sup></label>
<input
formControlName="firstName"
class="signup-input full-width"
type="text"
name="firstName"
required>
And this in my SCSS:
input[name=firstName]:focus {
background-color: blue !important;
label[for=firstName] {
background-color: red !important;
color: green !important;
}
}
the blue background for the input works but the label doesn't change at all. Am I doing this wrong?