Pulsar

Compare

CSS

Two parallel horizontal text lines slide back and forth in opposite directions while a small vertical divider bar pulses at the center.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Loaders and spinners
Use cases
Loading and waiting, Documents and files
Industries
Legal, Cross-industry
Style
Minimal line · light stroke
Set
clause
Tags
barslineminimalloop

Companion assets

The same artwork, not animated. Derived from the entry’s own resting state, so it matches exactly.

Animated
CSS tier
Static vector
Compare, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-clause-compare" data-pulsar="clause-compare" viewBox="0 0 160 96"><g class="divider-bar"><line x1="80" x2="80" y1="20" y2="76" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="1.5"></line><circle cx="80" cy="48" r="2.5" fill="var(--pulsar-accent, currentColor)"></circle></g><g class="side left-side"><line x1="30" x2="72" y1="38" y2="38" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="row r1"></line><line x1="36" x2="72" y1="58" y2="58" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="row r2" opacity=".6"></line></g><g class="side right-side"><line x1="88" x2="130" y1="38" y2="38" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="2" class="row r1"></line><line x1="88" x2="124" y1="58" y2="58" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="row r2" opacity=".6"></line></g></svg>

animation.css

.pulsar-clause-compare {
  display: block;
  width: 100%;
  height: 100%;
}
.pulsar-clause-compare .side.left-side {
  animation: clause-compare-shift-left 4s ease-in-out infinite;
}
.pulsar-clause-compare .side.right-side {
  animation: clause-compare-shift-right 4s ease-in-out infinite;
}
.pulsar-clause-compare .divider-bar {
  animation: clause-compare-pulse 4s ease-in-out infinite;
}
@keyframes clause-compare-shift-left {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(5px);
    opacity: 1;
  }
}
@keyframes clause-compare-shift-right {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-5px);
    opacity: 1;
  }
}
@keyframes clause-compare-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.95);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-clause-compare .side.left-side,
  .pulsar-clause-compare .side.right-side,
  .pulsar-clause-compare .divider-bar {
    animation: none;
    transform: none;
    opacity: 0.8;
  }
}

From this family15 in Clause

See the family