scss :hover change color on one element when hovering on another code example
Example 1: css hover change other element
#container:hover > #cube { background-color: yellow; }
Example 2: on class hover another class color change
/* For wrapper is a child of item */
.item:hover .wrapper {
color: #fff;
background-color: #000;
}
/* For wrapper is another div and item is another */
.item:hover ~ .wrapper {
color: #fff;
background-color: #000;
}