Opt-Out
CSSA checked circle dissolves into a fine mesh, which then wipes horizontally off the screen from left to right.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 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
- circlewipeminimallinefade
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-opt-out" data-pulsar="consent-opt-out" viewBox="0 0 160 96"><circle cx="80" cy="48" r="24" stroke="currentColor" stroke-width="1.25" opacity=".4"></circle><g class="consent-opt-out-mark"><path stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m70 48 7 7 13-14" class="consent-opt-out-check"></path><line x1="64" x2="96" y1="44" y2="44" stroke="currentColor" stroke-dasharray="2 3" class="consent-opt-out-line-1" opacity=".6"></line><line x1="64" x2="96" y1="52" y2="52" stroke="currentColor" stroke-dasharray="2 3" class="consent-opt-out-line-2" opacity=".6"></line></g></svg>
animation.css
.pulsar-consent-opt-out {
display: block;
overflow: visible;
}
.pulsar-consent-opt-out .consent-opt-out-mark {
animation: consent-opt-out-wipe-anim 4200ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
@keyframes consent-opt-out-wipe-anim {
0%,
20% {
transform: translateX(0);
opacity: 1;
}
45%,
75% {
transform: translateX(40px);
opacity: 0;
}
90%,
100% {
transform: translateX(0);
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-consent-opt-out .consent-opt-out-mark {
animation: none;
}
}