Forums

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

Home Forums CSS targeting parent children classes in CSS from a child class Reply To: targeting parent children classes in CSS from a child class

#236736
Paulie_D
Member

If block-2 is not a child or subsequent sibling of block-1 then there is no CSS method of selecting it.

You can’t select up the DOM.

Depending on the actual structure there may options but we’d have to see it.