I want to add a class when hovering the any of this div, but not the hovering one, I mean if I hover over the number 2 div, the class will be added to the number 1 and number 3 div, if I hover over the number 3 class will be added to 1 and 2, is this possible?
<div> 1 </div>
<div> 2 </div>
<div> 3 </div>
Via Active questions tagged javascript - Stack Overflow https://ift.tt/LEJHyeB
Comments
Post a Comment