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

Parallax-lagen

A polder landscape in five layers that each move at their own speed while you scroll inside the panel: the sun sinks, the dike and trees rise; for an atmospheric opener or a story told in steps.

Lagen geven diepte

Elke laag beweegt in zijn eigen tempo.

How to use it

  1. Paste the HTML where the scroll effects 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.
<!-- Parallax-lagen · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="h4px">
  <div class="h4px__sc" tabindex="0" aria-label="Scrollvlak met een landschap in lagen">
    <div class="h4px__track">
      <div class="h4px__scene">
        <div class="h4px__sky" aria-hidden="true"></div>
        <div class="h4px__sun" data-s="0.42" aria-hidden="true"></div>
        <h3 class="h4px__t" data-s="0.22">Lagen geven diepte</h3>
        <svg class="h4px__l h4px__l--far" data-s="-0.12" viewBox="0 0 800 200" preserveAspectRatio="xMidYMin slice" aria-hidden="true">
          <path d="M0 74 Q200 56 400 64 T800 60 L800 200 L0 200Z"/>
          <path d="M548 66 L553 26 L567 26 L572 66Z"/>
          <g class="h4px__sails"><rect x="558" y="-2" width="4" height="58"/><rect x="532" y="26" width="56" height="4"/></g>
        </svg>
        <svg class="h4px__l h4px__l--mid" data-s="-0.32" viewBox="0 0 800 200" preserveAspectRatio="xMidYMin slice" aria-hidden="true">
          <path d="M0 74 L800 74 L800 200 L0 200Z"/>
          <circle cx="40" cy="62" r="22"/><circle cx="78" cy="54" r="28"/><circle cx="118" cy="64" r="18"/><circle cx="210" cy="60" r="24"/><circle cx="246" cy="66" r="16"/>
          <path d="M300 74 L300 46 L330 26 L360 46 L360 74Z"/>
          <circle cx="430" cy="58" r="26"/><circle cx="470" cy="64" r="20"/><circle cx="610" cy="56" r="30"/><circle cx="652" cy="64" r="20"/><circle cx="740" cy="60" r="24"/><circle cx="780" cy="66" r="18"/>
        </svg>
        <div class="h4px__l h4px__l--front" data-s="-0.46">
          <svg viewBox="0 0 800 60" preserveAspectRatio="none" aria-hidden="true"><path d="M0 40 Q200 18 420 30 T800 26 L800 60 L0 60Z"/></svg>
          <p class="h4px__end">Elke laag beweegt in zijn eigen tempo.</p>
        </div>
      </div>
    </div>
  </div>
  <p class="h4px__hint" aria-hidden="true">Scroll in dit vlak</p>
</div>
</div>

More scroll effects

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 →