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

Sticky Pin + Scale

A project photo stays pinned and opens from a narrow window to the full frame as you scroll, then the caption appears. For the showcase project on a contractor or interior site.

Keuken met kookeiland van eikenhout en zwarte kranen
Keuken aan de Vecht, UtrechtEiken fronten, composiet blad, geplaatst in negen werkdagen.

Hierna loopt de pagina gewoon door.

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.
<!-- Sticky Pin + Scale · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="spk">
  <div class="spk__scroller" tabindex="0" aria-label="Project, scrol om het beeld te openen">
    <div class="spk__baan">
      <div class="spk__pin">
        <figure class="spk__vorm">
          <img class="spk__beeld" src="https://neddev.com/lab-media/cases-filter-masonry-5.webp" alt="Keuken met kookeiland van eikenhout en zwarte kranen" loading="lazy">
          <figcaption class="spk__bijschrift"><strong>Keuken aan de Vecht, Utrecht</strong><span>Eiken fronten, composiet blad, geplaatst in negen werkdagen.</span></figcaption>
        </figure>
      </div>
    </div>
    <p class="spk__verder">Hierna loopt de pagina gewoon door.</p>
  </div>
  <p class="spk__hint" aria-hidden="true">Scrol in dit vak</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 →