Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

focus on input change label color

.input-group {
    display: flex;
    flex-direction: column-reverse;
}

input:focus + label {
    color: red;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #focus #input #change #label #color
ADD COMMENT
Topic
Name
4+9 =