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

Menu dat in spiegelbeeld sluit

Full menu that unfolds from top to bottom via clip-path and on closing plays exactly the same motion backwards, so the easing is mirrored too: fast out, slow settle; on closing slow start, fast exit. Click halfway and it turns around from there. Web Animations API, with aria-expanded, Escape, focus back to the button and an inert background.

Kozijnen, deuren en trappen op maat, uit onze werkplaats in Sneek.

Open het menu en sluit het weer: de beweging loopt exact terug.

How to use it

  1. Paste the HTML where the navigation & menus 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.
<!-- Menu dat in spiegelbeeld sluit · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="ecm">
<div class="ecm__kop"><a class="ecm__merk" href="#">Timmerbedrijf Hoekstra</a><button class="ecm__knop" type="button" aria-expanded="false" aria-controls="ecm-menu">Menu</button></div>
<div class="ecm__pagina"><h3 class="ecm__h">Kozijnen, deuren en trappen op maat, uit onze werkplaats in Sneek.</h3><p class="ecm__p">Open het menu en sluit het weer: de beweging loopt exact terug.</p></div>
<nav class="ecm__menu" id="ecm-menu" aria-label="Hoofdmenu" hidden>
<ul class="ecm__l">
<li><a href="#">Projecten</a></li>
<li><a href="#">Werkplaats</a></li>
<li><a href="#">Over Hoekstra</a></li>
<li><a href="#">Offerte aanvragen</a></li>
</ul>
<p class="ecm__tel">Bel ons: 0515 123 456 · ma t/m vr 7:30 tot 16:30</p>
</nav>
</div>
</div>

More navigation & menus

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 →