Drift
CSSA horizontal bar chart where one bar slowly extends beyond its boundary line and begins to vibrate.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.5 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Errors and warnings, Dashboards and reporting
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- anomaly
- Tags
- linegeometricstrokepulseminimal
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" aria-hidden="true" class="pulsar pulsar-anomaly-drift" data-pulsar="anomaly-drift" viewBox="0 0 160 96"><line x1="80" x2="80" y1="20" y2="76" stroke="currentColor" stroke-dasharray="3 3" stroke-width="1.5" opacity=".35"></line><line x1="60" x2="60" y1="20" y2="76" stroke="currentColor" opacity=".2"></line><line x1="100" x2="100" y1="20" y2="76" stroke="currentColor" opacity=".2"></line><line x1="76" x2="84" y1="48" y2="48" stroke="currentColor" stroke-width="1.5" opacity=".5"></line><g class="anomaly-drift-indicator"><circle cx="80" cy="48" r="4.5" fill="var(--pulsar-accent, currentColor)"></circle><line x1="80" x2="80" y1="36" y2="60" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2"></line><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.2" d="M80 40h12v16H80" opacity=".6"></path></g><circle cx="106" cy="48" r="7" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="anomaly-drift-alert"></circle></svg>
animation.css
.pulsar-anomaly-drift {
display: block;
overflow: visible;
}
.pulsar-anomaly-drift .anomaly-drift-indicator {
animation: anomaly-drift-indicator-anim 4500ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulsar-anomaly-drift .anomaly-drift-alert {
transform-origin: 106px 48px;
animation: anomaly-drift-alert-anim 4500ms ease infinite;
}
@keyframes anomaly-drift-indicator-anim {
0%,
15% {
transform: translateX(0);
}
50%,
80% {
transform: translateX(26px);
}
92%,
100% {
transform: translateX(0);
}
}
@keyframes anomaly-drift-alert-anim {
0%,
48% {
transform: scale(0.4);
opacity: 0;
}
58% {
opacity: 0.9;
}
75% {
transform: scale(1.6);
opacity: 0;
}
100% {
transform: scale(1.6);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-anomaly-drift * {
animation: none !important;
}
}