How make inside an input an tabindex show still label:focus


There have a background: blue; That what I want to show but as is inside input goes to next tabindex? I mean not know there still have one inside label and not show blue. Is cant work because on first input have one tabindex and cant tabindex inside tabindex. Any idea?

Thank you so much!

Add opacity: 1; to the label:focus selector.

label:focus {
  background: blue;
  opacity: 1;
1 Like