Diploma
CSSA parchment credential scroll unrolls slightly, aligning underlying geometric grid lines.
- 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
- geometricgridloop
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-diploma" data-pulsar="accredit-diploma" viewBox="0 0 160 96"><g class="scroll-body"><rect width="68" height="48" x="46" y="24" fill="currentColor" fill-opacity=".05" stroke="currentColor" stroke-width="1.5" rx="3"></rect><line x1="54" x2="88" y1="36" y2="36" stroke="currentColor" stroke-width="1.5" opacity=".3"></line><line x1="54" x2="106" y1="46" y2="46" stroke="currentColor" stroke-width="1.5" opacity=".3"></line><line x1="54" x2="98" y1="56" y2="56" stroke="currentColor" stroke-width="1.5" opacity=".3"></line></g><g class="ribbon-band"><rect width="12" height="52" x="74" y="22" fill="var(--pulsar-accent, currentColor)" fill-opacity=".2" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" rx="1"></rect><circle cx="80" cy="48" r="5" fill="var(--pulsar-accent, currentColor)"></circle><path fill="var(--pulsar-accent, currentColor)" fill-opacity=".4" d="m77 60-3 12 6-4 6 4-3-12"></path></g></svg>
animation.css
.pulsar-accredit-diploma {
display: block;
width: 100%;
height: 100%;
}
.pulsar-accredit-diploma .scroll-body {
transform-origin: 80px 48px;
animation: accredit-diploma-unfurl 4s ease-in-out infinite;
}
.pulsar-accredit-diploma .ribbon-band {
animation: accredit-diploma-pulse 4s ease-in-out infinite;
}
@keyframes accredit-diploma-unfurl {
0%,
15%,
85%,
100% {
transform: scaleX(0.92);
}
45%,
65% {
transform: scaleX(1);
}
}
@keyframes accredit-diploma-pulse {
0%,
15%,
85%,
100% {
opacity: 0.7;
}
45%,
65% {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-accredit-diploma .scroll-body,
.pulsar-accredit-diploma .ribbon-band {
animation: none;
transform: none;
opacity: 1;
}
}