Pulsar

Paragraph Shift

CSS

A paragraph text block shifts downward, making room for a new highlighted insert box that expands from a thin central line.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Transitions and reveals
Use cases
Documents and files, Transitions and reveals
Industries
Legal, Cross-industry
Style
Technical · light stroke
Set
redline
Tags
scalebarslineone-shot

Companion assets

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

Animated
CSS tier
Static vector
Paragraph Shift, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-redline-paragraph-shift" data-pulsar="redline-paragraph-shift" viewBox="0 0 160 96"><g class="para-top"><line x1="24" x2="120" y1="26" y2="26" stroke="currentColor" stroke-linecap="round" stroke-width="1.75"></line><line x1="24" x2="112" y1="36" y2="36" stroke="currentColor" stroke-linecap="round" stroke-width="1.75"></line></g><g class="insert-box"><rect width="112" height="18" x="24" y="44" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" rx="2"></rect><line x1="32" x2="108" y1="50" y2="50" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="1.75"></line><line x1="32" x2="88" y1="56" y2="56" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="1.75"></line></g><g class="para-bottom"><line x1="24" x2="116" y1="70" y2="70" stroke="currentColor" stroke-linecap="round" stroke-width="1.75"></line><line x1="24" x2="100" y1="80" y2="80" stroke="currentColor" stroke-linecap="round" stroke-width="1.75"></line></g></svg>

animation.css

.pulsar-redline-paragraph-shift {
  display: block;
  width: 100%;
  height: 100%;
}
.pulsar-redline-paragraph-shift .para-bottom {
  animation: redline-paragraph-shift-shift-down 4s ease-in-out infinite;
}
.pulsar-redline-paragraph-shift .insert-box {
  transform-origin: 80px 53px;
  animation: redline-paragraph-shift-insert 4s ease-in-out infinite;
}
@keyframes redline-paragraph-shift-shift-down {
  0%,
  10% {
    transform: translateY(0);
  }
  35%,
  75% {
    transform: translateY(0);
  }
  85%,
  100% {
    transform: translateY(0);
  }
}
@keyframes redline-paragraph-shift-insert {
  0%,
  5% {
    transform: scaleY(0.05);
    opacity: 0;
  }
  20%,
  75% {
    transform: scaleY(1);
    opacity: 1;
  }
  90%,
  100% {
    transform: scaleY(0.05);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-redline-paragraph-shift .para-bottom,
  .pulsar-redline-paragraph-shift .insert-box {
    animation: none;
    transform: none;
    opacity: 0.8;
  }
}

From this family15 in Redline

See the family