Kodza

Horizontal Scroll

A section that pins itself while its cards slide sideways as you scroll down. Pictures drift in their frames, the counter rolls. A swipe on touch.

Scroll No dependencies scrollhorizontalstickygallery Added Oct 2026
/anim/horizontal-scroll/ 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.

Show my case studies in a Kodza Horizontal Scroll section.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-horizontal-scroll.html
<section class="kodza-hscroll" aria-label="Selected work">
  <div class="kodza-hscroll__sticky">
    <div class="kodza-hscroll__head">
      <h2 class="kodza-hscroll__title">Six shapes, one scroll.</h2>
      <p class="kodza-hscroll__count" aria-hidden="true"><span class="kodza-hscroll__num">01</span><span class="kodza-hscroll__total">/ 06</span></p>
    </div>
    <div class="kodza-hscroll__viewport">
      <ul class="kodza-hscroll__track">
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-steps-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Steps</span><span class="kodza-hscroll__tag">grid-auto-flow: row</span></span></a></li>
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-block-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Block</span><span class="kodza-hscroll__tag">display: block</span></span></a></li>
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-stack-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Stack</span><span class="kodza-hscroll__tag">z-index: 9999</span></span></a></li>
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-float-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Float</span><span class="kodza-hscroll__tag">position: absolute</span></span></a></li>
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-arch-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Arch</span><span class="kodza-hscroll__tag">border-radius: 50%</span></span></a></li>
        <li class="kodza-hscroll__item"><a class="kodza-hscroll__card" href="#"><span class="kodza-hscroll__media"><img src="https://kodza.dev/media/kz-columns-1400.webp" alt=""></span><span class="kodza-hscroll__meta"><span class="kodza-hscroll__name">Columns</span><span class="kodza-hscroll__tag">gap: 1rem</span></span></a></li>
      </ul>
    </div>
    <div class="kodza-hscroll__progress" aria-hidden="true"><span></span></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 Scroll