-1

I'm making a family tree using only html and css using this script

Now i know how to make a married couple, but what if i want to know who the parents are from "wife"? So i want to go upwards in the tree instead of down.

To clarify (in blue): image

Any ideas?

Community
  • 1
  • 1

1 Answers1

0

There are no parent selectors in css.

https://css-tricks.com/parent-selectors-in-css/

Serg Chernata
  • 12,124
  • 6
  • 31
  • 50