The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS input:focus… Re: input:focus…


My apologies, I think I figured out my own problem while putting it together in codepen.

Essentially, I wanted a way, when a user :focus on an input, for the li outside of it to change its color, but that isn’t possible, since it’s on the outside.

Sounds like this is a job for jQuery.