:hover doesn't work always between more than one element, why?

hover " element:hover anotherElement{…} " doesn’t always work when used this way. may not be applied if the element to be affected is inside another element or just below the hover element. How can I find out how it works in which situation?