-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
  • 11,774
  • 6
  • 30
  • 49
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/14854158) – Joseph Jan 11 '17 at 15:24
  • @Joseph The answer is that it's not possible. – Serg Chernata Jan 11 '17 at 15:30