Depth
CSSA vertical scale with numerical divisions drops into a well, and a horizontal surface line rises to mark the measured depth.
- 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
- barslineminimalgeometricpulse
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-depth" data-pulsar="calibrate-depth" viewBox="0 0 160 96"><path stroke-width="1.5" d="M46 22h12v56h44V22h12" opacity=".35"></path><g class="calibrate-depth-rod"><line x1="80" x2="80" y1="10" y2="58" stroke="var(--pulsar-accent, currentColor)" stroke-width="2.5"></line><line x1="76" x2="80" y1="20" y2="20" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.2"></line><line x1="74" x2="80" y1="30" y2="30" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><line x1="76" x2="80" y1="40" y2="40" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.2"></line><line x1="74" x2="80" y1="50" y2="50" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><circle cx="80" cy="58" r="2.5" fill="var(--pulsar-accent, currentColor)" stroke-width="0"></circle></g><line x1="58" x2="102" y1="68" y2="68" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.8" class="calibrate-depth-datum"></line></svg>
animation.css
.pulsar-calibrate-depth {
display: block;
overflow: visible;
}
.pulsar-calibrate-depth .calibrate-depth-rod {
animation: calibrate-depth-plunge 4000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulsar-calibrate-depth .calibrate-depth-datum {
animation: calibrate-depth-liquid 4000ms ease-in-out infinite;
}
@keyframes calibrate-depth-plunge {
0% {
transform: translateY(-12px);
}
40%,
75% {
transform: translateY(10px);
}
92%,
100% {
transform: translateY(-12px);
}
}
@keyframes calibrate-depth-liquid {
0%,
100% {
opacity: 0.5;
transform: scaleX(0.9);
}
40%,
75% {
opacity: 1;
transform: scaleX(1);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-calibrate-depth .calibrate-depth-rod,
.pulsar-calibrate-depth .calibrate-depth-datum {
animation: none;
transform: none;
opacity: 1;
}
}