change textfield label color on focus code example
Example: focus on input change label color
.input-group {
display: flex;
flex-direction: column-reverse;
}
input:focus + label {
color: red;
}
.input-group {
display: flex;
flex-direction: column-reverse;
}
input:focus + label {
color: red;
}