Kodza

Hero Expand

A big title with a small picture set between two words. On scroll the scene pins, the picture opens to full screen and pushes the words aside, then a caption and a button rise. Scroll back up: it rewinds.

Hero No dependencies herosectionlandingscrollstickypinimageexpandscrub Added Oct 2026
/anim/hero-expand/ Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Add the Kodza Hero Expand to my page.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-hero-expand.html
<section class="kodza-hero-expand">
  <div class="kodza-hero-expand__scene">
    <div class="kodza-hero-expand__inner">
      <div class="kodza-hero-expand__head">
        <p class="kodza-hero-expand__eyebrow"><span class="kodza-hero-expand__rise">Kodza Studio · est. last sprint</span></p>
        <h1 class="kodza-hero-expand__title"><span class="kodza-hero-expand__line"><span class="kodza-hero-expand__rise">No framework</span></span> <span class="kodza-hero-expand__line"><span class="kodza-hero-expand__rise"><span class="kodza-hero-expand__word">was</span> <span class="kodza-hero-expand__slot" aria-hidden="true"></span> <span class="kodza-hero-expand__word">harmed.</span></span></span></h1>
      </div>
      <div class="kodza-hero-expand__foot">
        <p class="kodza-hero-expand__lead">Your client calls it magic. You call it position: sticky.</p>
        <p class="kodza-hero-expand__hint" aria-hidden="true"><span class="kodza-hero-expand__cue"></span>Scroll to enter</p>
      </div>
    </div>
    <div class="kodza-hero-expand__media">
      <div class="kodza-hero-expand__window"><img src="https://kodza.dev/media/kz-arch-2400.webp" alt="A concrete wall with a round-topped opening, sunlight pouring through it" width="2400" height="2400" /></div>
      <div class="kodza-hero-expand__veil"></div>
      <div class="kodza-hero-expand__panel">
        <div class="kodza-hero-expand__copy">
          <p class="kodza-hero-expand__fig"><span class="kodza-hero-expand__rise">fig. 02 — One entry point. Zero dependencies.</span></p>
          <p class="kodza-hero-expand__say"><span class="kodza-hero-expand__mask"><span class="kodza-hero-expand__rise">Step inside.</span></span> <span class="kodza-hero-expand__mask"><span class="kodza-hero-expand__rise">The rest is one paste.</span></span></p>
        </div>
        <div class="kodza-hero-expand__action"><span class="kodza-hero-expand__rise"><a class="kodza-hero-expand__button" href="#">Get the code<svg class="kodza-hero-expand__arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 3.5 13.5 8 9 12.5" /></svg></a></span></div>
      </div>
    </div>
  </div>
</section>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.
KeyboardPress them in the preview
On the button
  • Follows the linkEnter
  • Moves on, the page scrolls alongTab
Tabbing in
  • Lands on the button, the scene scrolls to where it is upTab

More like this

More in Hero