css input focus label color 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;
}