Badge
CSSA hexagonal badge rotates as inner concentric technical rings align into a target reticle.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Success and confirmation, Security and trust
- Industries
- Education and training, Cross-industry
- Style
- Technical · light stroke
- Set
- accredit
- Tags
- geometricrotateringloop
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-accredit-badge" data-pulsar="accredit-badge" viewBox="0 0 160 96"><polygon fill="currentColor" fill-opacity=".05" stroke="currentColor" stroke-width="1.5" points="80,18 108,34 108,62 80,78 52,62 52,34" class="hex-boundary"></polygon><g class="reticle"><circle cx="80" cy="48" r="20" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="4 4" stroke-width="1.5"></circle><circle cx="80" cy="48" r="10" stroke="currentColor"></circle><line x1="80" x2="80" y1="24" y2="72" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="2 3"></line><line x1="56" x2="104" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="2 3"></line><circle cx="80" cy="48" r="3" fill="var(--pulsar-accent, currentColor)"></circle></g></svg>
animation.css
.pulsar-accredit-badge {
display: block;
width: 100%;
height: 100%;
}
.pulsar-accredit-badge .hex-boundary {
transform-origin: 80px 48px;
animation: accredit-badge-rotate 4s ease-in-out infinite;
}
.pulsar-accredit-badge .reticle {
transform-origin: 80px 48px;
animation: accredit-badge-spin 4s linear infinite;
}
@keyframes accredit-badge-rotate {
0%,
100% {
transform: rotate(0deg);
}
50% {
transform: rotate(30deg);
}
}
@keyframes accredit-badge-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-accredit-badge .hex-boundary,
.pulsar-accredit-badge .reticle {
animation: none;
transform: none;
}
}