Translate
CSSTwo stylized letter glyphs pivot slightly left and right as a vertical wave of light passes across them from left to right.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Loaders and spinners
- Use cases
- Loading and waiting, AI and processing
- Industries
- Legal, Cross-industry
- Style
- Minimal line · light stroke
- Set
- clause
- Tags
- wavebarslineloop
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-clause-translate" data-pulsar="clause-translate" viewBox="0 0 160 96"><g class="src-clause"><rect width="40" height="40" x="28" y="28" stroke="currentColor" stroke-width="1.25" opacity=".3" rx="3"></rect><line x1="36" x2="60" y1="38" y2="38" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".6"></line><line x1="36" x2="56" y1="48" y2="48" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".6"></line><line x1="36" x2="52" y1="58" y2="58" stroke="currentColor" stroke-linecap="round" stroke-width="2" opacity=".6"></line></g><g class="bridge-wave"><path stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="1.5" d="M72 48q8-8 16 0"></path><circle cx="80" cy="48" r="2.5" fill="var(--pulsar-accent, currentColor)"></circle></g><g class="dst-clause"><rect width="40" height="40" x="92" y="28" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.25" opacity=".5" rx="3"></rect><line x1="100" x2="124" y1="38" y2="38" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2"></line><line x1="100" x2="120" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2"></line><line x1="100" x2="114" y1="58" y2="58" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2"></line></g></svg>
animation.css
.pulsar-clause-translate {
display: block;
width: 100%;
height: 100%;
}
.pulsar-clause-translate .bridge-wave {
animation: clause-translate-flow 4s ease-in-out infinite;
}
.pulsar-clause-translate .src-clause {
animation: clause-translate-src 4s ease-in-out infinite;
}
.pulsar-clause-translate .dst-clause {
animation: clause-translate-dst 4s ease-in-out infinite;
}
@keyframes clause-translate-flow {
0%,
100% {
transform: translateX(-4px);
opacity: 0.3;
}
50% {
transform: translateX(4px);
opacity: 1;
}
}
@keyframes clause-translate-src {
0%,
100% {
opacity: 0.9;
}
50% {
opacity: 0.4;
}
}
@keyframes clause-translate-dst {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-clause-translate .bridge-wave,
.pulsar-clause-translate .src-clause,
.pulsar-clause-translate .dst-clause {
animation: none;
transform: none;
opacity: 0.8;
}
}