css apply to parent based on child hover code example
Example: how to select child when hover on parent element css
/* Selecting a child element on :hover parent element*/
.parent:hover .child {
/* ... */
}
/* Selecting a child element on :hover parent element*/
.parent:hover .child {
/* ... */
}