AI CSS Animations

CSS Number & Counter Animations

42 number animations in pure CSS: countdowns, rolling odometer digits, stats that count up, flip clocks, timers and live tickers.

Odometer Number Animation

Digits roll up into place like a car odometer, each column on its own strip, with the right-hand columns spinning through extra turns. One keyframe, driven by a --to value per column.

numbers · one-shot

Stock Ticker Animation

A market ticker tape: symbols, prices and green or red changes with arrows glide past on a thin band. The tape is a two-copy marquee, so it can hold any number of quotes without a seam.

numbers · loop

How to use these number animations

Open any effect, copy the HTML into your markup and the CSS into your stylesheet. Nothing else is required. Classes are prefixed per effect so several can share a page.

To change the color, set --txt-color on the element or any ancestor. To change the size, set --txt-size: offsets, shadows and letter spacing are all in em, so they follow the font size.

One-shot effects such as the typewriter and the reveals play when the element appears. To trigger them later, add the class when you need it, or toggle animation-play-state.

Every snippet ships with a prefers-reduced-motion rule that jumps straight to the finished state for people who asked their OS for less motion, so the text is always readable.