:hover css and other 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; }
#container:hover ~ #cube { background-color: yellow; }
#container:hover > #cube { background-color: yellow; }