Services
Solutions
Industries
Regions
Book a call 085 369 7668 info@neddev.com

Magnetische knop

Within a radius the button is pulled towards the cursor, the label slightly more, and it springs back on leave; for one key call to action.

How to use it

  1. Paste the HTML where the buttons should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Magnetische knop · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="ei-mag"><a href="#" class="ei-mag__b"><span class="ei-mag__l">Plan een kennismaking</span></a></div>
</div>

More buttons

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →