Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

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 · NedDev · eigen werk. -->
<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 →