I am seeking a similar behavior to what is demonstrated on , but with some modifications to the boxes:
div {
display: inline-block;
width: 100px;
height: 100px;
border: 1px solid black;
cursor: pointer;
}
div.selected,
div:hover {
background-color: red;
color: white;
}
<div>A</div>
<div>B</div>
<div>C</div>
I would like the ability to click on one box, drag it, and have the color of the other boxes change as well.
I previously posted about this issue, but the accepted answer did not meet my needs. I am specifically looking for the same functionality as in the provided link above.
Thank you.