Kodza

Hero Cover

A cover hero: a full-width picture under a monochrome veil with the title at the bottom left. The picture opens from the top edge and settles, the title lines rise. CSS only.

Hero No dependencies herosectionlandingentrancecoverimageoverlaycss-only Added Oct 2026
/anim/hero-cover/ GitHub 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 Cover 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-cover.html
<section class="kodza-hero-cover">
  <div class="kodza-hero-cover__frame">
    <div class="kodza-hero-cover__media"><div class="kodza-hero-cover__curtain"><div class="kodza-hero-cover__hold"><img src="https://kodza.dev/media/kz-steps-2400.webp" srcset="https://kodza.dev/media/kz-steps-1400.webp 1400w, https://kodza.dev/media/kz-steps-2400.webp 2400w" sizes="100vw" alt="A concrete staircase climbing to the right under a flat light" width="2400" height="1600" fetchpriority="high" /></div></div></div>
    <div class="kodza-hero-cover__content">
      <div class="kodza-hero-cover__copy">
        <h1 class="kodza-hero-cover__title"><span class="kodza-hero-cover__line"><span class="kodza-hero-cover__rise">Ship in small steps.</span></span> <span class="kodza-hero-cover__line"><span class="kodza-hero-cover__rise">Roll back in one.</span></span></h1>
        <p class="kodza-hero-cover__lead">A full-bleed picture, a veil that keeps the words readable, and nothing to install.</p>
        <div class="kodza-hero-cover__actions">
          <a class="kodza-hero-cover__button kodza-hero-cover__button--solid" href="#">Get the code<svg class="kodza-hero-cover__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>
          <a class="kodza-hero-cover__button kodza-hero-cover__button--glass" href="#">See it live</a>
        </div>
      </div>
      <p class="kodza-hero-cover__caption">fig. 02 — kz-steps, rendered in numpy</p>
    </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.

More like this

More in Hero