Home › Forums › CSS › How to get a hook on an element when another element (not a parent) is targeted › Reply To: How to get a hook on an element when another element (not a parent) is targeted
August 29, 2013 at 7:21 am
#148499
Participant
I’ve received an approach for a working solution and wanted to post the answer in here too… If you put the “a” element of .toggler right after the ul of #togglenav then the following selector is possible which solves the initial problem:
#togglenav:target + .toggler