Truck Turn-around
CSSAn abstract transport indicator block traces smoothly along a semicircular loop trajectory to represent yard turnaround cycle velocity.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Data and progress
- Use cases
- Determinate progress, Scheduling and time
- Industries
- Logistics and supply chain
- Style
- Technical · light stroke
- Set
- yard
- Tags
- loopgeometricprogress
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-yard-turn-around" data-pulsar="yard-turn-around" viewBox="0 0 160 96"><path stroke-width="1.5" d="M48 68V44a32 32 0 0 1 64 0v24" opacity=".3"></path><line x1="44" x2="52" y1="68" y2="68" stroke-width="1.5" opacity=".5"></line><line x1="108" x2="116" y1="68" y2="68" stroke-width="1.5" opacity=".5"></line><rect width="12" height="12" x="42" y="60" fill="var(--pulsar-accent, currentColor)" fill-opacity=".25" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="runner" rx="2"></rect></svg>
animation.css
.pulsar-yard-turn-around {
display: block;
overflow: visible;
}
.pulsar-yard-turn-around .runner {
animation: yard-turn-around-run 4000ms ease-in-out infinite;
}
@keyframes yard-turn-around-run {
0% {
transform: translate(0, 0);
opacity: 0.4;
}
25% {
transform: translate(0, -24px);
opacity: 0.9;
}
50% {
transform: translate(32px, -46px);
opacity: 1;
}
75% {
transform: translate(64px, -24px);
opacity: 0.9;
}
90%,
100% {
transform: translate(64px, 0);
opacity: 0.4;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-yard-turn-around .runner {
animation: none;
transform: none;
opacity: 1;
stroke-dashoffset: 0;
}
}