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

Foto opent door de letters New

The place name fills the frame with the photo only inside the letters; then the letters grow and the photo bursts open from the middle of the word until it fills the whole frame, and the heading and button appear. Built with an SVG mask, no library. Use it as the hero of a holiday park, hotel or regional brand where the place itself is the story. With reduced motion the end state shows at once.

Chalets achter de duinen van Texel

Veertig chalets bij De Koog, vanaf € 89 per nacht.

Bekijk de chalets

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.
<!-- Foto opent door de letters · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="hlo">
<svg class="hlo__svg" viewBox="0 0 1000 625" preserveAspectRatio="xMidYMid slice" aria-hidden="true" focusable="false">
<defs><mask id="hlo-m" maskUnits="userSpaceOnUse" x="0" y="0" width="1000" height="625"><rect width="1000" height="625" fill="#000"/><g class="hlo__mg"><text class="hlo__word" x="500" y="408" text-anchor="middle">Texel</text></g><circle class="hlo__c" cx="500" cy="300" r="0" fill="#fff"/></mask></defs>
<rect width="1000" height="625" fill="#f4f3f1"/>
<image class="hlo__img" href="https://neddev.com/lab-media/hk-letters-openen-1.webp" width="1000" height="625" preserveAspectRatio="xMidYMid slice" mask="url(#hlo-m)"/>
</svg>
<div class="hlo__shade" aria-hidden="true"></div>
<div class="hlo__txt">
<h2 class="hlo__h">Chalets achter de duinen van Texel</h2>
<p class="hlo__p">Veertig chalets bij De Koog, vanaf € 89 per nacht.</p>
<a class="hlo__cta" href="#hk-letters-openen">Bekijk de chalets</a>
</div>
<button class="hlo__again" type="button">Nog eens</button>
</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 →