@Tryt4n
Posted
It's becasue you write it to be color changed:
.nav-toggle-label:hover { background-color: rgba(0, 0, 0, 0.1); }
Also there is no such a thing like label type="button"
You should use button
instead of label
.
label
element is for inputs to describes what that input is doing. Something like header for input, and that's why label
has for=""
attribute. This is where you type id
of input
that should be labelled by that label
.