I have a DOM tree looking like that (let's say these are the class names):
- container
- my_label
- my_span
- my_sub-container
On hover on the container, my_label is displayed. The selector is .container:hover .my_label
I want to add another rule in order to hide my_label if my_sub-container is on hover as well.
How to apply a style to my_label if my_sub-container:hover is not the precedent or immediate sibling of my label ?