If I am understanding the question correctly, it seems you are inquiring about how to make a parent element inherit the hover behavior of its child? Unfortunately, this cannot be achieved through CSS directly as style inheritance works downwards in the document tree.
One potential solution could involve using a JQuery ready() function to dynamically add the hover style to any parent elements that contain children with a hover style. However, this approach may complicate the code and confuse future developers. A more straightforward approach would be to initially assign the hover class to the parent element to ensure it inherits the desired hover behavior, as demonstrated in some of the other responses.
I hope this explanation clarifies things for you.