AI CSS Animations

Premium

Slide Rule Glide

A slide rule works out 1.5 × 4: the slide glides to its offset, then the glass cursor follows to the answer on the D scale, which flashes. Cursor and slide return in reverse order.

Also known as: slide rule animation, slide rule css, calculating loader, logarithmic scale animation.

Premium

Unlock the HTML and CSS

Everything you see above is live. Basic and Pro include every premium piece, with the HTML and CSS ready to copy, plus Motions in Claude Code on Pro.

Customizing this loader

  • Color: set --ldr-color on the element or a parent. Currently previewing #3b82f6.
  • Size: set --ldr-size. Every dimension in the snippet is derived from it. Currently previewing 64px.
  • Speed: change the duration on the animation shorthand. Delays on the children are relative, so they keep their rhythm.
  • Accessibility: the root carries role="status" and an aria-label so screen readers announce the wait. The reduced-motion rule at the end slows the animation for users who asked for less motion.

Similar loaders