Unveil Active State
CSSA diagonal scanline sweeps across a self-contained grid of lines, transitioning them from muted dashed strokes to active solid lines.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.4 s, loops
- Categories
- Transitions and reveals
- Use cases
- Security and trust, Workflow and approvals
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- consent
- Tags
- linewipeminimalbarsstroke
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-consent-unveil" data-pulsar="consent-unveil" viewBox="0 0 160 96"><rect width="88" height="56" x="36" y="20" stroke="currentColor" stroke-width="1.25" opacity=".3" rx="6"></rect><g class="consent-unveil-rules"><line x1="48" x2="112" y1="34" y2="34" stroke="currentColor" stroke-dasharray="3 3" stroke-width="1.25" opacity=".5"></line><line x1="48" x2="112" y1="48" y2="48" stroke="currentColor" stroke-dasharray="3 3" stroke-width="1.25" opacity=".5"></line><line x1="48" x2="112" y1="62" y2="62" stroke="currentColor" stroke-dasharray="3 3" stroke-width="1.25" opacity=".5"></line></g><line x1="40" x2="60" y1="16" y2="80" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="consent-unveil-beam"></line></svg>
animation.css
.pulsar-consent-unveil {
display: block;
overflow: visible;
}
.pulsar-consent-unveil .consent-unveil-beam {
animation: consent-unveil-beam-anim 4400ms ease-in-out infinite;
}
@keyframes consent-unveil-beam-anim {
0% {
transform: translateX(0);
opacity: 0;
}
20% {
opacity: 1;
}
80% {
opacity: 1;
}
100% {
transform: translateX(64px);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-consent-unveil .consent-unveil-beam {
animation: none;
}
}