Credential
CSSAn accredited credential card wireframe tilts on its axis to reveal a shimmering security emblem.
- 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
- uirotatesparkleloop
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-credential" data-pulsar="accredit-credential" viewBox="0 0 160 96"><g class="card-carrier"><rect width="68" height="52" x="46" y="22" fill="currentColor" fill-opacity=".06" stroke="currentColor" stroke-width="1.5" rx="4"></rect><rect width="16" height="18" x="54" y="30" stroke="currentColor" opacity=".4" rx="2"></rect><line x1="76" x2="104" y1="34" y2="34" stroke="currentColor" stroke-width="1.5" opacity=".3"></line><line x1="76" x2="98" y1="42" y2="42" stroke="currentColor" stroke-width="1.5" opacity=".3"></line><g class="security-chip"><circle cx="94" cy="58" r="6" fill="var(--pulsar-accent, currentColor)" fill-opacity=".2" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></circle><circle cx="94" cy="58" r="2" fill="var(--pulsar-accent, currentColor)"></circle></g></g></svg>
animation.css
.pulsar-accredit-credential {
display: block;
width: 100%;
height: 100%;
}
.pulsar-accredit-credential .card-carrier {
transform-origin: 80px 48px;
animation: accredit-credential-tilt 4s ease-in-out infinite;
}
.pulsar-accredit-credential .security-chip {
animation: accredit-credential-shimmer 4s ease-in-out infinite;
}
@keyframes accredit-credential-tilt {
0%,
100% {
transform: rotateY(0deg) scale(0.95);
}
50% {
transform: rotateY(16deg) scale(1.02);
}
}
@keyframes accredit-credential-shimmer {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-accredit-credential .card-carrier,
.pulsar-accredit-credential .security-chip {
animation: none;
transform: none;
opacity: 1;
}
}