.first {
background: red;
width: 100px;
height: 100px;
}
.first:hover .outer-box {
background: black;
}
.outer-box {
width: 100px;
height: 100px;
background: green;
}
<div class="icons">
<div class="first"></div>
</div>
<div class="outer-box"></div>
How can I hover over one box and highlight the other?
It would be easier if the boxes where in the same container but unfortunately they are not.
Hope you can help perhaps updating my pen with no jquery if doable