Wondering whether if there is a css-only way to perform to toggle styles on the corresponding label on input\'s focus. So far I have:
$(
There is no selector to match a preceding element... This matches a label immediately followed by an input tag.
input:focus + label { color: red; }