Is there any way to change an element's css while focusing or hovering on one of it's children?
Ex: while I move my mouse on A, B's background color changes. if B is a descendant A, it is possible.
--A
-----B
using #A:hover #B { background-color: blue }
in sibling:
---A
---B
It is : #A:hover ~ #B { background-color: blue; }
assume B is a descendant of A.
what if I want to change #A background, while I am hovering on B. how could it be?
--A
-----B