css hover affect other item

CSS
#container:hover ~ #cube { background-color: yellow; }
Source

Also in CSS: