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

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

Andy Howells

Yep, you can’t link to other elements that aren’t related. What you could potentially do is use the sibling or adjacent selectors if the elements are one after the other.