Accept
CSSTwo halves of an agreement document slide together and merge, triggering an outward circular pulse that fades.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.2 s, loops
- Categories
- Transitions and reveals
- Use cases
- Success and confirmation, Security and trust
- Industries
- Security and identity, Cross-industry
- Style
- Minimal line · light stroke
- Set
- consent
- Tags
- circleringminimallinepulse
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-accept" data-pulsar="consent-accept" viewBox="0 0 160 96"><circle cx="80" cy="48" r="28" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="3 3" stroke-width="1.25" class="consent-accept-pulse" opacity=".8"></circle><g class="consent-accept-half-l"><path stroke="currentColor" stroke-width="1.25" d="M80 22H58c-3 0-5 2-5 5v42c0 3 2 5 5 5h22"></path><line x1="60" x2="80" y1="34" y2="34" stroke="currentColor" opacity=".5"></line><line x1="60" x2="80" y1="44" y2="44" stroke="currentColor" opacity=".5"></line><line x1="60" x2="80" y1="54" y2="54" stroke="currentColor" opacity=".5"></line></g><g class="consent-accept-half-r"><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" d="M80 22h22c3 0 5 2 5 5v42c0 3-2 5-5 5H80"></path><line x1="80" x2="100" y1="34" y2="34" stroke="var(--pulsar-accent, currentColor)" opacity=".6"></line><line x1="80" x2="96" y1="44" y2="44" stroke="var(--pulsar-accent, currentColor)" opacity=".6"></line><circle cx="88" cy="56" r="5" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.25"></circle></g></svg>
animation.css
.pulsar-consent-accept {
display: block;
overflow: visible;
}
.pulsar-consent-accept .consent-accept-half-l {
animation: consent-accept-half-l-anim 4200ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.pulsar-consent-accept .consent-accept-half-r {
animation: consent-accept-half-r-anim 4200ms cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.pulsar-consent-accept .consent-accept-pulse {
animation: consent-accept-pulse-anim 4200ms ease-out infinite;
transform-origin: 80px 48px;
}
@keyframes consent-accept-half-l-anim {
0%,
15% {
transform: translateX(-16px);
opacity: 0.4;
}
40%,
80% {
transform: translateX(0);
opacity: 1;
}
92%,
100% {
transform: translateX(-16px);
opacity: 0.4;
}
}
@keyframes consent-accept-half-r-anim {
0%,
15% {
transform: translateX(16px);
opacity: 0.4;
}
40%,
80% {
transform: translateX(0);
opacity: 1;
}
92%,
100% {
transform: translateX(16px);
opacity: 0.4;
}
}
@keyframes consent-accept-pulse-anim {
0%,
35% {
transform: scale(0.6);
opacity: 0;
}
50% {
transform: scale(1.1);
opacity: 0.9;
}
75%,
100% {
transform: scale(1.4);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-consent-accept .consent-accept-half-l,
.pulsar-consent-accept .consent-accept-half-r,
.pulsar-consent-accept .consent-accept-pulse {
animation: none;
}
}