how to change the text color of input label on text input 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;
}