css pseudo hover style on other elements code example
Example 1: css affect other elements on hover
#container:hover ~ #cube { background-color: yellow; }
Example 2: css hover change other element
#container:hover > #cube { background-color: yellow; }