Demand Align
CSSTwo horizontal bars centered on the same axis dynamically resize their lengths to match target demand with actual output.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Data and progress
- Use cases
- Determinate progress, Dashboards and reporting
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Data mark · light stroke
- Set
- takt
- Tags
- barslineminimalscalegeometric
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-takt-demand-align" data-pulsar="takt-demand-align" viewBox="0 0 160 96"><line x1="80" x2="80" y1="20" y2="76" stroke-dasharray="2 3" stroke-width="1.5" opacity=".3"></line><rect width="88" height="14" x="36" y="32" stroke-dasharray="3 3" stroke-width="1.5" opacity=".4" rx="2"></rect><rect width="88" height="14" x="36" y="52" fill="currentColor" fill-opacity=".1" stroke="var(--pulsar-accent, currentColor)" stroke-width="2" class="takt-demand-output" rx="2"></rect><circle cx="80" cy="59" r="3" fill="var(--pulsar-accent, currentColor)" stroke-width="0" class="takt-demand-lock"></circle></svg>
animation.css
.pulsar-takt-demand-align {
display: block;
overflow: visible;
}
.pulsar-takt-demand-align .takt-demand-output {
transform-origin: 80px 59px;
animation: takt-demand-align-resize 4000ms cubic-bezier(0.3, 1.2, 0.4, 1) infinite;
}
.pulsar-takt-demand-align .takt-demand-lock {
animation: takt-demand-align-pulse 4000ms ease-out infinite;
}
@keyframes takt-demand-align-resize {
0% {
transform: scaleX(0.5);
}
40%,
75% {
transform: scaleX(1);
}
92%,
100% {
transform: scaleX(0.5);
}
}
@keyframes takt-demand-align-pulse {
0%,
38% {
opacity: 0;
transform: scale(0.6);
}
45% {
opacity: 1;
transform: scale(1.3);
}
75% {
opacity: 0.9;
transform: scale(1);
}
90%,
100% {
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-takt-demand-align .takt-demand-output,
.pulsar-takt-demand-align .takt-demand-lock {
animation: none;
transform: none;
opacity: 1;
}
}