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

Diorama dat met de muis meeschuift New

A drawn landscape in six layers (sky with sun, distant hills, forest, tents, foreground and the text) that each shift at their own depth with the mouse or finger, as if you peek into a shoebox diorama. Without a pointer it sways very gently. Use it as the hero of a campsite, holiday park or nature organisation without a good photo. With reduced motion it stays still.

Kamperen tussen de heide

Camping De Hondsrug bij Exloo. Ruime plekken vanaf € 24 per nacht.

Reserveer een plek

How to use it

  1. Paste the HTML where the hero styles 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.
<!-- Diorama dat met de muis meeschuift · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="hdi">
<div class="hdi__l" data-d="4" aria-hidden="true"><svg viewBox="0 0 800 500" preserveAspectRatio="xMidYMax slice"><rect width="800" height="500" fill="#f4f3f1"/><circle cx="640" cy="160" r="56" fill="#F5480F"/></svg></div>
<div class="hdi__l" data-d="10" aria-hidden="true"><svg viewBox="0 0 800 500" preserveAspectRatio="xMidYMax slice"><path d="M-40 330 C 80 270 170 300 260 280 S 430 230 520 270 S 700 250 840 290 V 520 H -40 Z" fill="#d7d1c8"/></svg></div>
<div class="hdi__l" data-d="18" aria-hidden="true"><svg viewBox="0 0 800 500" preserveAspectRatio="xMidYMax slice"><path d="M-40 370 C 120 330 220 360 330 340 S 560 300 680 330 S 800 320 840 330 V 520 H -40 Z" fill="#a8a196"/><g fill="#6f6a62"><path d="M90 352 l14 -48 l14 48z"/><path d="M118 350 l11 -38 l11 38z"/><path d="M600 330 l16 -56 l16 56z"/><path d="M632 332 l12 -42 l12 42z"/><path d="M660 334 l10 -34 l10 34z"/></g></svg></div>
<div class="hdi__l" data-d="28" aria-hidden="true"><svg viewBox="0 0 800 500" preserveAspectRatio="xMidYMax slice"><path d="M-40 410 C 140 380 300 400 420 392 S 700 372 840 390 V 520 H -40 Z" fill="#4a463f"/><g><path d="M470 398 l38 -52 l38 52z" fill="#F5480F"/><path d="M508 346 l0 52" stroke="#0a0a0a" stroke-width="3"/><path d="M498 398 l10 -16 l10 16z" fill="#0a0a0a"/><path d="M560 396 l26 -36 l26 36z" fill="#f4f3f1"/><path d="M586 360 l0 36" stroke="#0a0a0a" stroke-width="2"/></g></svg></div>
<div class="hdi__l" data-d="44" aria-hidden="true"><svg viewBox="0 0 800 500" preserveAspectRatio="xMidYMax slice"><path d="M-60 452 C 160 430 380 446 560 438 S 760 430 860 440 V 520 H -60 Z" fill="#0a0a0a"/><g stroke="#0a0a0a" stroke-width="3" stroke-linecap="round"><path d="M700 444 q-6 -30 -2 -52"/><path d="M712 444 q4 -26 12 -40"/><path d="M690 446 q-14 -18 -20 -34"/><path d="M60 452 q-4 -24 4 -40"/><path d="M72 452 q8 -18 16 -26"/></g></svg></div>
<div class="hdi__txt hdi__l" data-d="-8">
<h2 class="hdi__h">Kamperen tussen de heide</h2>
<p class="hdi__p">Camping De Hondsrug bij Exloo. Ruime plekken vanaf € 24 per nacht.</p>
<a class="hdi__cta" href="#hk-diorama">Reserveer een plek</a>
</div>
</div>
</div>

More hero styles

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 →