Hover · data-cue-hover="magnetic"
Magnetic
A button drifts towards the pointer, at most 10px, and settles back. Mouse and trackpad only.
Markup
<a class="button" href="…" data-cue-hover="magnetic">…</a>
Options
| Attribute | What it does | Default |
|---|---|---|
data-cue-strength | How strongly it follows (0 to 1) | 0.3 |
With motion off
Off. Turn motion off at the top of the page to see it.