5
I have an element and I want that when the user hovers over it, it should go to the position of another element.
For example:
I have the element A
and I have the element B
, when the user hovers the mouse in the element A
, need to move (slide, move) the element A
up to the position of the element B
.
The problem is that the element A
are using position: absolute
referent there is a div
with position: relative
. And the element B
is using position: absolute
referent there is another div
.
Does anyone know how I can do it?
It automatically goes up to the B. When I simply give the Hover on the A, it should automatically slide up to the B.
– Cauê