how to affect an other item with hover 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; }