Bridge
CSSTwo disconnected line ends are bridged by a horizontal connector line that draws itself from left to right, restoring flow.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Success and confirmation, Sync and integration
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- patch
- Tags
- linepulsegeometricstrokeminimal
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-patch-bridge" data-pulsar="patch-bridge" viewBox="0 0 160 96"><g stroke="currentColor" stroke-linecap="round" stroke-width="2" class="patch-bridge-buses"><line x1="24" x2="60" y1="48" y2="48"></line><line x1="100" x2="136" y1="48" y2="48"></line><circle cx="60" cy="48" r="3"></circle><circle cx="100" cy="48" r="3"></circle></g><line x1="60" x2="100" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2.5" class="patch-bridge-wire"></line><circle cx="60" cy="48" r="2" fill="var(--pulsar-accent, currentColor)" class="patch-bridge-node-l"></circle><circle cx="100" cy="48" r="2" fill="var(--pulsar-accent, currentColor)" class="patch-bridge-node-r"></circle><circle cx="24" cy="48" r="3" fill="var(--pulsar-accent, currentColor)" class="patch-bridge-packet"></circle></svg>
animation.css
.pulsar-patch-bridge {
display: block;
overflow: visible;
}
.pulsar-patch-bridge .patch-bridge-buses {
opacity: 0.7;
}
.pulsar-patch-bridge .patch-bridge-wire {
stroke-dasharray: 40;
stroke-dashoffset: 40;
animation: patch-bridge-wire-anim 4000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.pulsar-patch-bridge .patch-bridge-node-l {
animation: patch-bridge-node-l-anim 4000ms ease infinite;
}
.pulsar-patch-bridge .patch-bridge-node-r {
animation: patch-bridge-node-r-anim 4000ms ease infinite;
}
.pulsar-patch-bridge .patch-bridge-packet {
animation: patch-bridge-packet-anim 4000ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes patch-bridge-wire-anim {
0%,
15% {
stroke-dashoffset: 40;
opacity: 0;
}
20% {
opacity: 1;
}
38% {
stroke-dashoffset: 0;
opacity: 1;
}
80% {
stroke-dashoffset: 0;
opacity: 1;
}
92% {
stroke-dashoffset: -40;
opacity: 0;
}
100% {
stroke-dashoffset: -40;
opacity: 0;
}
}
@keyframes patch-bridge-node-l-anim {
0%,
18% {
opacity: 0.3;
transform: scale(0.8);
}
22%,
80% {
opacity: 1;
transform: scale(1.2);
}
90%,
100% {
opacity: 0.3;
transform: scale(0.8);
}
}
@keyframes patch-bridge-node-r-anim {
0%,
35% {
opacity: 0.3;
transform: scale(0.8);
}
40%,
80% {
opacity: 1;
transform: scale(1.2);
}
90%,
100% {
opacity: 0.3;
transform: scale(0.8);
}
}
@keyframes patch-bridge-packet-anim {
0%,
42% {
transform: translateX(0);
opacity: 0;
}
45% {
opacity: 1;
}
72% {
transform: translateX(112px);
opacity: 1;
}
76%,
100% {
transform: translateX(112px);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-patch-bridge * {
animation: none !important;
}
}