Pulsar

Reject Wipe

CSS

A red diagonal slash line wipes across a text block from top-left to bottom-right, fading the block to its original, unedited state.

Tier
CSS
Dependencies
None
Duration
4 s, loops
Categories
Transitions and reveals
Use cases
Errors and warnings, Transitions and reveals
Industries
Legal, Cross-industry
Style
Technical · light stroke
Set
redline
Tags
wipelinestrokeone-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
Reject Wipe, not animated
Download SVG

Code

animation.svg

<svg xmlns="http://www.w3.org/2000/svg" fill="none" aria-hidden="true" class="pulsar pulsar-redline-reject-wipe" data-pulsar="redline-reject-wipe" viewBox="0 0 160 96"><g class="text-block-edit"><line x1="28" x2="100" y1="34" y2="34" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="6 3" stroke-linecap="round" stroke-width="1.75"></line><line x1="28" x2="120" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="6 3" stroke-linecap="round" stroke-width="1.75"></line><line x1="28" x2="90" y1="62" y2="62" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="6 3" stroke-linecap="round" stroke-width="1.75"></line></g><g class="text-block-clean"><line x1="28" x2="100" y1="34" y2="34" stroke="currentColor" stroke-linecap="round" stroke-width="1.75" opacity="0"></line><line x1="28" x2="120" y1="48" y2="48" stroke="currentColor" stroke-linecap="round" stroke-width="1.75" opacity="0"></line><line x1="28" x2="90" y1="62" y2="62" stroke="currentColor" stroke-linecap="round" stroke-width="1.75" opacity="0"></line></g><line x1="16" x2="16" y1="16" y2="80" stroke="currentColor" stroke-linecap="round" stroke-width="2" class="slash-line" opacity=".8"></line></svg>

animation.css

.pulsar-redline-reject-wipe {
  display: block;
  width: 100%;
  height: 100%;
}
.pulsar-redline-reject-wipe .slash-line {
  animation: redline-reject-wipe-slash 4s ease-in-out infinite;
}
.pulsar-redline-reject-wipe .text-block-edit {
  clip-path: inset(0 0 0 0);
  animation: redline-reject-wipe-disappear 4s ease-in-out infinite;
}
.pulsar-redline-reject-wipe .text-block-clean {
  animation: redline-reject-wipe-appear 4s ease-in-out infinite;
}
@keyframes redline-reject-wipe-slash {
  0%,
  5% {
    transform: translateX(0) rotate(25deg);
    opacity: 0;
    transform-origin: 16px 48px;
  }
  10% {
    opacity: 1;
  }
  75% {
    transform: translateX(130px) rotate(25deg);
    opacity: 0.8;
    transform-origin: 16px 48px;
  }
  90%,
  100% {
    transform: translateX(130px) rotate(25deg);
    opacity: 0;
    transform-origin: 16px 48px;
  }
}
@keyframes redline-reject-wipe-disappear {
  0%,
  5% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
  }
}
@keyframes redline-reject-wipe-appear {
  0%,
  60% {
    opacity: 0;
  }
  75%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pulsar-redline-reject-wipe .slash-line,
  .pulsar-redline-reject-wipe .text-block-edit,
  .pulsar-redline-reject-wipe .text-block-clean {
    animation: none;
    transform: none;
    clip-path: none;
    opacity: 0.8;
  }
}

From this family15 in Redline

See the family