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

Media Between Text

Inside the headline a photo slides open between two words once the hero is in view; when closed, a narrow orange slot remains. A click closes or opens it. For a hero with a mood image but no big photo band.

Trappen die passen.

Timmerwerkplaats in Gouda. Elke trap op maat getekend, gezaagd en geplaatst.

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.
<!-- Media Between Text · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="nmb">
  <h3 class="nmb__kop">Trappen <button class="nmb__vlak" type="button" aria-expanded="false" aria-label="Foto tonen"><img class="nmb__img" src="https://neddev.com/lab-media/cases-filter-masonry-3.webp" alt="Eiken trap met laden in de onderste treden"></button> die passen.</h3>
  <p class="nmb__sub">Timmerwerkplaats in Gouda. Elke trap op maat getekend, gezaagd en geplaatst.</p>
</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 →