Kodza

Hero Centered

A centred hero with an announcement pill, a headline whose lines rise out of their masks, one sentence and two pill buttons. CSS only, the entrance plays on load.

Hero No dependencies herosectionlandingentrancecenteredannouncementcss-only Added Oct 2026
/anim/hero-centered/ 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 Centered 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-centered.html
<section class="kodza-hero-centered">
  <div class="kodza-hero-centered__inner">
    <p class="kodza-hero-centered__news"><a class="kodza-hero-centered__badge" href="#"><span class="kodza-hero-centered__badge-label">v2 is out</span><span class="kodza-hero-centered__badge-more">See what changed</span><svg class="kodza-hero-centered__badge-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></p>
    <h1 class="kodza-hero-centered__title"><span class="kodza-hero-centered__line"><span class="kodza-hero-centered__rise">It's just HTML.</span></span> <span class="kodza-hero-centered__line"><span class="kodza-hero-centered__rise">That's the feature.</span></span></h1>
    <p class="kodza-hero-centered__lead">Three pieces, zero dependencies. Paste it into the theme you already have, then deploy.</p>
    <div class="kodza-hero-centered__actions">
      <a class="kodza-hero-centered__button kodza-hero-centered__button--ink" href="#">Get the code<svg class="kodza-hero-centered__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-centered__button kodza-hero-centered__button--soft" href="#">See it live</a>
    </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