I tried to make one element move, for example, from one point to another, hovering over another div element. But I could not figure out how to do this!
I want this: Let's say there is a div element, 200x200 and background-color: black. And there is one more, but with the background color: red. And if possible, another with a background color: green.
They are placed along the center or screen vertically. One below the other. When I hang over one of them, the other two will move from right to left. As long as the one that is hovering over, remains stationary. Any guesses how to do this?
source
share