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

Hero-beeld groeit tot volledig beeld New

The hero image sits as an inset below the headline and grows to full bleed while scrolling; the radius disappears and the caption fades in. Built with position: sticky and a CSS scroll-timeline driving one @property value (0 to 1); without scroll-timeline a tiny scroll listener sets the same value. With prefers-reduced-motion the image stays still.

[ Aanbouw · Amersfoort ]

Ruimte erbij,
in zes weken gebouwd.

Nieuwe aanbouw met stalen pui aan een bakstenen rijtjeshuis

Familie Bakker, Amersfoort18 m² · stalen pui · opgeleverd mei 2026

[ 01 ] Werkwijze

Daarna loopt de pagina gewoon door: werkwijze, prijzen en projecten.

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.
<!-- Hero-beeld groeit tot volledig beeld · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="hmg"><div class="hmg__sc" tabindex="0" aria-label="Voorbeeld: aanbouw-hero, scroll om het beeld te laten groeien"><div class="hmg__track"><div class="hmg__pin">
<p class="hmg__k">[ Aanbouw · Amersfoort ]</p>
<h4 class="hmg__t">Ruimte erbij,<br>in zes weken gebouwd.</h4>
<div class="hmg__m"><img src="https://neddev.com/lab-media/hero-media-groeit-1.webp" alt="Nieuwe aanbouw met stalen pui aan een bakstenen rijtjeshuis" loading="lazy"><p class="hmg__cap"><b>Familie Bakker, Amersfoort</b><span>18 m² · stalen pui · opgeleverd mei 2026</span></p></div>
</div></div>
<div class="hmg__na"><p class="hmg__nk">[ 01 ] Werkwijze</p><p>Daarna loopt de pagina gewoon door: werkwijze, prijzen en projecten.</p></div>
</div></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 →