Home › Forums › CSS › Can I refer to an item in an other parents? › Reply To: Can I refer to an item in an other parents?
November 21, 2016 at 7:17 am
#248068
Participant
Because my buttons are in a div
No need to try… can’t be done. With CSS it’s not possible go up the element tree, only down.
There was something in the spec that would make such a thing possible (the subject indicator) but they apparently scratched it from the spec.
Piece of cake with JS of course.
Edit – a late reply without seeing the previous one…