Tolerance
CSSTwo dashed boundary lines shift outward or inward around a solid central line, showing the tolerance envelope being adjusted.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Dashboards and reporting, Workflow and approvals
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Technical · light stroke
- Set
- calibrate
- Tags
- barslineminimalgeometricstroke
Companion assets
The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.
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-tolerance" data-pulsar="calibrate-tolerance" viewBox="0 0 160 96"><line x1="28" x2="132" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="80" x2="80" y1="42" y2="54" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><circle cx="80" cy="48" r="3" fill="var(--pulsar-accent, currentColor)" stroke-width="0"></circle><g class="calibrate-tolerance-upper"><line x1="36" x2="124" y1="32" y2="32" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 4" stroke-width="1.5"></line><polyline stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" points="76 36, 80 32, 84 36"></polyline></g><g class="calibrate-tolerance-lower"><line x1="36" x2="124" y1="64" y2="64" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 4" stroke-width="1.5"></line><polyline stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" points="76 60, 80 64, 84 60"></polyline></g><line x1="36" x2="36" y1="24" y2="72" stroke-width="1.5" opacity=".3"></line><line x1="124" x2="124" y1="24" y2="72" stroke-width="1.5" opacity=".3"></line></svg>
animation.css
.pulsar-calibrate-tolerance {
display: block;
overflow: visible;
}
.pulsar-calibrate-tolerance .calibrate-tolerance-upper {
animation: calibrate-tolerance-adjust-up 4000ms ease-in-out infinite;
}
.pulsar-calibrate-tolerance .calibrate-tolerance-lower {
animation: calibrate-tolerance-adjust-down 4000ms ease-in-out infinite;
}
@keyframes calibrate-tolerance-adjust-up {
0%,
100% {
transform: translateY(0px);
opacity: 0.9;
}
50% {
transform: translateY(6px);
opacity: 0.6;
}
}
@keyframes calibrate-tolerance-adjust-down {
0%,
100% {
transform: translateY(0px);
opacity: 0.9;
}
50% {
transform: translateY(-6px);
opacity: 0.6;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-calibrate-tolerance .calibrate-tolerance-upper,
.pulsar-calibrate-tolerance .calibrate-tolerance-lower {
animation: none;
transform: none;
opacity: 1;
}
}