Revert Change
CSSAn inserted change line retracts backward from right to left as an eraser stroke un-writes the commit segment, restoring prior line spacing.
- Tier
- CSS
- Dependencies
- None
- Duration
- 5.5 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Errors and warnings, Workflow and approvals
- Industries
- SaaS and software, Cross-industry
- Style
- Minimal line · light stroke
- Set
- changelog
- Tags
- arrowlineloopminimalwipe
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-changelog-revert" data-pulsar="changelog-revert" viewBox="0 0 160 96"><g stroke="currentColor" stroke-linecap="round" stroke-width="1.2" opacity=".4"><line x1="28" x2="88" y1="28" y2="28"></line><line x1="28" x2="108" y1="68" y2="68"></line></g><g stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round"><line id="changelog-revert-line" x1="36" x2="124" y1="48" y2="48" stroke-dasharray="88" stroke-width="2"></line><g id="changelog-revert-eraser"><circle cx="124" cy="48" r="3" fill="var(--pulsar-accent, currentColor)"></circle><path stroke-width="1.2" d="M128 42c-4-4-12-4-16 2"></path><polyline stroke-width="1.2" points="112,41 112,44 116,44"></polyline></g></g></svg>
animation.css
.pulsar-changelog-revert #changelog-revert-line {
animation: changelog-revert-unwrite 5500ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes changelog-revert-unwrite {
0%,
25% {
stroke-dashoffset: 0;
opacity: 1;
}
45%,
82% {
stroke-dashoffset: 88;
opacity: 0.2;
}
92%,
100% {
stroke-dashoffset: 0;
opacity: 1;
}
}
.pulsar-changelog-revert #changelog-revert-eraser {
animation: changelog-revert-eraser-slide 5500ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes changelog-revert-eraser-slide {
0%,
22% {
transform: translateX(0);
opacity: 1;
}
45%,
82% {
transform: translateX(-88px);
opacity: 0.3;
}
92%,
100% {
transform: translateX(0);
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-changelog-revert * {
animation: none !important;
}
}