Here, I want to edit some attributes of my label when there is a focus event on input field so,
But it is not working, when the input field gains focus there is no change in label element what should i do both of the below methods are not working for me.
I am writing it as,
.input-field:focus + .input-label{
background : black;
}
or
.input-field:focus .input-label{
background : black;
}
Both the methods are not working for me.