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

Hero met Ken Burns-beeld New

Hero with a photo that slowly zooms and pans over 26 seconds (Ken Burns), text on top and a pause button bottom right, required by WCAG 2.2.2 for motion longer than 5 seconds. Pure CSS: a transform animation plus animation-play-state via :has() on a real checkbox. With reduced motion the image stands still and the button disappears. Works in every browser.

Boerderijcamping · Alblasserwaard

Wakker worden tussen de koeien en de molens.

Plek reserverenvanaf € 32 per nacht

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. No JavaScript needed.
<!-- Hero met Ken Burns-beeld · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="kbh">
  <div class="kbh__img" aria-hidden="true"><img src="https://neddev.com/lab-media/ken-burns-hero-1.webp" alt="" width="1376" height="768"></div>
  <div class="kbh__txt">
    <span class="kbh__k">Boerderijcamping · Alblasserwaard</span>
    <h4 class="kbh__h">Wakker worden tussen de koeien en de molens.</h4>
    <div class="kbh__cta"><a class="kbh__b" href="#ken-burns-hero">Plek reserveren</a><span class="kbh__p">vanaf € 32 per nacht</span></div>
  </div>
  <label class="kbh__pause"><input type="checkbox"><span class="kbh__ico" aria-hidden="true"><i></i><i></i></span><span class="kbh__lt">Beweging pauzeren</span></label>
</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 →