cue

Hover · data-cue-hover="magnetic"

Magnetic

A button drifts towards the pointer, at most 10px, and settles back. Mouse and trackpad only.

Live, in the personality you've picked

Markup

html
<a class="button" href="…" data-cue-hover="magnetic">…</a>

Options

AttributeWhat it doesDefault
data-cue-strengthHow strongly it follows (0 to 1)0.3

With motion off

Off. Turn motion off at the top of the page to see it.