Waveform
CSSTwo parallel sine-wave lines representing frequency guards that slowly shift phase and ripple in opposite directions across the canvas.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 s, loops
- Categories
- Backgrounds and ambient
- Use cases
- Security and trust, Ambient background
- Industries
- Security and identity, IT services and infrastructure
- Style
- Technical · light stroke
- Set
- perimeter
- Tags
- wavelineambientminimalstroke
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-perimeter-waveform" data-pulsar="perimeter-waveform" viewBox="0 0 160 96"><line x1="20" x2="140" y1="28" y2="28" stroke="currentColor" stroke-dasharray="3 3" opacity=".2"></line><line x1="20" x2="140" y1="68" y2="68" stroke="currentColor" stroke-dasharray="3 3" opacity=".2"></line><g class="perimeter-waveform-wave-1"><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" d="M-20 40q15-14 30 0t30 0 30 0 30 0 30 0 30 0 30 0" opacity=".85"></path></g><g class="perimeter-waveform-wave-2"><path stroke="currentColor" stroke-width="1.25" d="M-20 56q15 14 30 0t30 0 30 0 30 0 30 0 30 0 30 0" opacity=".5"></path></g><circle cx="40" cy="48" r="1.5" fill="currentColor" opacity=".4"></circle><circle cx="80" cy="48" r="2.5" fill="var(--pulsar-accent, currentColor)"></circle><circle cx="120" cy="48" r="1.5" fill="currentColor" opacity=".4"></circle></svg>
animation.css
.pulsar-perimeter-waveform {
display: block;
overflow: visible;
}
.pulsar-perimeter-waveform .perimeter-waveform-wave-1 {
animation: perimeter-waveform-right-anim 4200ms linear infinite;
}
.pulsar-perimeter-waveform .perimeter-waveform-wave-2 {
animation: perimeter-waveform-left-anim 4200ms linear infinite;
}
@keyframes perimeter-waveform-right-anim {
0% {
transform: translateX(0);
}
100% {
transform: translateX(60px);
}
}
@keyframes perimeter-waveform-left-anim {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-60px);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-perimeter-waveform .perimeter-waveform-wave-1,
.pulsar-perimeter-waveform .perimeter-waveform-wave-2 {
animation: none;
}
}