You can (ab)use CSS to move elements around relative to their normal positions with
position: relative;
left: 100px;
right: 100px;
..And you can observe mouse movements with
document.addEventListener(
"onmousemove",
({ clientX, clientY }) => {}
)
Combining these, we can make a link move depending on the cursor position. Click this link to continue: Next