Home › Forums › CSS › [Solved] Modifying a class on :focus ? › Reply To: [Solved] Modifying a class on :focus ?
January 16, 2015 at 4:55 am
#193415
Paulie_D
Member
You can’t go UP the DOM with a CSS selector so given that your current structure has the input
after the label
means that you cannot affect it with :focus
.
If you can change the markup order you’d be OK otherwise you’d need javascript.