Skip to content
Added 2 Sept 2026
Back to library
odometer-counter-meter-15895
Odometer Counter Meter
Progress & Meters

Odometer Counter Meter

Running total shown on a mechanical counter — five digit wheels behind a shaded bezel, the four higher ones holding their reading while the red units wheel turns continuously through a strip that ends on a duplicate zero so the loop never jumps.

Progress & Metersodometercounterdigitsmechanicaltotal
lines of CSS
81lines of CSS
dependencies
0dependencies
browser, for years
Everybrowser, for years
stops under reduced motion
Guardedstops under reduced motion
Backdrop
Requests today
01234567890
01234567890
01234567890
01234567890
01234567890
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

odometer-counter-meter-15895.css
.fx-v14-pr-odometer-15894 {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 0.6rem;
  background: #101a2e;
  border: 1px solid #253049;
  font-family: system-ui, sans-serif;
}
.fx-v14-pr-odometer-15894 .lb {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}
.fx-v14-pr-odometer-15894 .wr {
  display: flex;
  gap: 3px;
  padding: 4px;
  border-radius: 0.35rem;
  background: #05080f;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.9), 0 0 0 1px #29354d;
}
.fx-v14-pr-odometer-15894 .d {
  position: relative;
  width: 22px;
  height: 30px;
  overflow: hidden;
  border-radius: 0.15rem;
  background: #161d2b;
}
.fx-v14-pr-odometer-15894 .d::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 66%, rgba(0,0,0,0.75) 100%);
}
.fx-v14-pr-odometer-15894 .d u {
  display: block;
  text-decoration: none;
  transform: translateY(calc(var(--v, 0) * -30px));
}
.fx-v14-pr-odometer-15894 .d em {
  display: block;
  height: 30px;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  color: #e2e8f0;
  font-variant-numeric: tabular-nums;
}
.fx-v14-pr-odometer-15894 .d.rl {
  background: #2a0d12;
}
.fx-v14-pr-odometer-15894 .d.rl em { color: #fca5a5; }
.fx-v14-pr-odometer-15894 .d.rl u {
  animation: fx-v14-pr-odometer-15894-roll 1.6s linear infinite;
}
@keyframes fx-v14-pr-odometer-15894-roll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-300px); }
}

@media (prefers-reduced-motion: reduce) {
  .fx-v14-pr-odometer-15894,
  .fx-v14-pr-odometer-15894::before,
  .fx-v14-pr-odometer-15894::after,
  .fx-v14-pr-odometer-15894 *,
  .fx-v14-pr-odometer-15894 *::before,
  .fx-v14-pr-odometer-15894 *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}
odometer-counter-meter-15895.html
<div class="fx-v14-pr-odometer-15894">
  <span class="lb">Requests today</span>
  <div class="wr">
    <div class="d" style="--v:0">
      <u>
        <em>0</em>
        <em>1</em>
        <em>2</em>
        <em>3</em>
        <em>4</em>
        <em>5</em>
        <em>6</em>
        <em>7</em>
        <em>8</em>
        <em>9</em>
        <em>0</em>
      </u>
    </div>
    <div class="d" style="--v:4">
      <u>
        <em>0</em>
        <em>1</em>
        <em>2</em>
        <em>3</em>
        <em>4</em>
        <em>5</em>
        <em>6</em>
        <em>7</em>
        <em>8</em>
        <em>9</em>
        <em>0</em>
      </u>
    </div>
    <div class="d" style="--v:8">
      <u>
        <em>0</em>
        <em>1</em>
        <em>2</em>
        <em>3</em>
        <em>4</em>
        <em>5</em>
        <em>6</em>
        <em>7</em>
        <em>8</em>
        <em>9</em>
        <em>0</em>
      </u>
    </div>
    <div class="d" style="--v:2">
      <u>
        <em>0</em>
        <em>1</em>
        <em>2</em>
        <em>3</em>
        <em>4</em>
        <em>5</em>
        <em>6</em>
        <em>7</em>
        <em>8</em>
        <em>9</em>
        <em>0</em>
      </u>
    </div>
    <div class="d rl">
      <u>
        <em>0</em>
        <em>1</em>
        <em>2</em>
        <em>3</em>
        <em>4</em>
        <em>5</em>
        <em>6</em>
        <em>7</em>
        <em>8</em>
        <em>9</em>
        <em>0</em>
      </u>
    </div>
  </div>
</div>

What do I do with this?

  1. Put odometer-counter-meter-15895.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v14-pr-odometer-15894">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add odometer-counter-meter-15895

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add odometer-counter-meter-15895

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Guarded

Ships a prefers-reduced-motion block, so the loop settles into its end state for visitors who ask for less motion.

What it animates
Compositor only

Only transform, opacity or filter: the GPU can run it without re-laying-out or repainting the page.

Flashing (WCAG 2.3.1)
No flashing found

No repeating change in opacity, colour or brightness large enough to count as a flash.

Layout shift (CLS)
No shift expected

Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

29 more effects in Progress & Meters

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Progress & Meters

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Odometer Counter Meter

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.