change form input focus border color code example
Example 1: change input border color when selected
input:focus {
outline: none;
border: 1px solid red;
}
Example 2: focus on input change label color
.input-group {
display: flex;
flex-direction: column-reverse;
}
input:focus + label {
color: red;
}