Pulsar

Vernier

CSS

A fine slider scale moves adjacent to a coarse main scale, showing the alignment of ticks that yields a high-precision decimal reading.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Icons and micro-interactions
Use cases
Determinate progress, Dashboards and reporting
Industries
Manufacturing and industrial, Cross-industry
Style
Technical · light stroke
Set
calibrate
Tags
barslineminimalgeometriccounter

Companion assets

The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.

Animated
CSS tier
Static vector
Vernier, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-calibrate-vernier" data-pulsar="calibrate-vernier" viewBox="0 0 160 96"><line x1="30" x2="130" y1="36" y2="36" stroke-width="1.5" opacity=".4"></line><line x1="40" x2="40" y1="36" y2="44" stroke-width="1.5" opacity=".5"></line><line x1="55" x2="55" y1="36" y2="42" opacity=".4"></line><line x1="70" x2="70" y1="36" y2="44" stroke-width="1.5" opacity=".5"></line><line x1="85" x2="85" y1="36" y2="44" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="100" x2="100" y1="36" y2="42" opacity=".4"></line><line x1="115" x2="115" y1="36" y2="44" stroke-width="1.5" opacity=".5"></line><g class="calibrate-vernier-subscale"><rect width="56" height="14" x="52" y="46" fill="currentColor" fill-opacity=".05" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.2" rx="2"></rect><line x1="60" x2="60" y1="46" y2="52" stroke="var(--pulsar-accent, currentColor)" opacity=".6"></line><line x1="72" x2="72" y1="46" y2="52" stroke="var(--pulsar-accent, currentColor)" opacity=".6"></line><line x1="85" x2="85" y1="46" y2="54" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="98" x2="98" y1="46" y2="52" stroke="var(--pulsar-accent, currentColor)" opacity=".6"></line></g><circle cx="85" cy="45" r="3" fill="var(--pulsar-accent, currentColor)" stroke-width="0" class="calibrate-vernier-pin"></circle></svg>

animation.css

.pulsar-calibrate-vernier {
  display: block;
  overflow: visible;
}
.pulsar-calibrate-vernier .calibrate-vernier-subscale {
  animation: calibrate-vernier-resolve 4000ms cubic-bezier(0.25, 1.2, 0.4, 1) infinite;
}
.pulsar-calibrate-vernier .calibrate-vernier-pin {
  animation: calibrate-vernier-pin-glow 4000ms ease-out infinite;
}

@keyframes calibrate-vernier-resolve {
  0% {
    transform: translateX(-14px);
  }
  35%,
  75% {
    transform: translateX(0px);
  }
  92%,
  100% {
    transform: translateX(-14px);
  }
}

@keyframes calibrate-vernier-pin-glow {
  0%,
  34% {
    transform: scale(0.5);
    opacity: 0;
  }
  38% {
    opacity: 1;
    transform: scale(1.4);
  }
  55%,
  75% {
    transform: scale(1);
    opacity: 0.8;
  }
  90%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulsar-calibrate-vernier .calibrate-vernier-subscale,
  .pulsar-calibrate-vernier .calibrate-vernier-pin {
    animation: none;
    transform: none;
    opacity: 1;
  }
  .pulsar-calibrate-vernier .calibrate-vernier-pin {
    opacity: 0;
  }
}

From this family15 in Calibrate

See the family