Contour
CSSA series of discrete, calibrated contour rings with elevation ticks and coordinate markings that step rhythmically between defined boundary states.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4.5 s, loops
- Categories
- Backgrounds and ambient
- Use cases
- Security and trust, Ambient background
- Industries
- Security and identity, Cross-industry
- Style
- Technical · light stroke
- Set
- perimeter
- Tags
- geometricringambientminimalstroke
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-perimeter-contour" data-pulsar="perimeter-contour" viewBox="0 0 160 96"><line x1="30" x2="130" y1="48" y2="48" stroke="currentColor" stroke-dasharray="2 4" opacity=".2"></line><line x1="80" x2="80" y1="14" y2="82" stroke="currentColor" stroke-dasharray="2 4" opacity=".2"></line><g class="perimeter-contour-ring-1"><polygon stroke="currentColor" points="56,22 104,22 130,48 104,74 56,74 30,48" opacity=".35"></polygon><circle cx="80" cy="22" r="1.5" fill="currentColor" opacity=".5"></circle><circle cx="80" cy="74" r="1.5" fill="currentColor" opacity=".5"></circle></g><g class="perimeter-contour-ring-2"><polygon stroke="currentColor" stroke-dasharray="3 2" stroke-width="1.25" points="62,28 98,28 120,48 98,68 62,68 40,48" opacity=".6"></polygon><circle cx="120" cy="48" r="1.5" fill="currentColor" opacity=".6"></circle><circle cx="40" cy="48" r="1.5" fill="currentColor" opacity=".6"></circle></g><g class="perimeter-contour-ring-3"><polygon fill="var(--pulsar-accent, currentColor)" fill-opacity=".1" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" points="68,34 92,34 108,48 92,62 68,62 52,48"></polygon><circle cx="80" cy="48" r="2.5" fill="var(--pulsar-accent, currentColor)"></circle></g></svg>
animation.css
.pulsar-perimeter-contour {
display: block;
overflow: visible;
}
.pulsar-perimeter-contour .perimeter-contour-ring-1 {
animation: perimeter-contour-step1-anim 4500ms steps(1, end) infinite;
transform-origin: 80px 48px;
}
.pulsar-perimeter-contour .perimeter-contour-ring-2 {
animation: perimeter-contour-step2-anim 4500ms steps(1, end) infinite;
transform-origin: 80px 48px;
}
.pulsar-perimeter-contour .perimeter-contour-ring-3 {
animation: perimeter-contour-step3-anim 4500ms steps(1, end) infinite;
transform-origin: 80px 48px;
}
@keyframes perimeter-contour-step1-anim {
0%,
100% {
transform: scale(1);
opacity: 0.35;
}
33% {
transform: scale(1.06);
opacity: 0.6;
}
66% {
transform: scale(0.96);
opacity: 0.25;
}
}
@keyframes perimeter-contour-step2-anim {
0%,
100% {
transform: scale(1);
opacity: 0.6;
}
33% {
transform: scale(0.95);
opacity: 0.4;
}
66% {
transform: scale(1.05);
opacity: 0.8;
}
}
@keyframes perimeter-contour-step3-anim {
0%,
100% {
transform: scale(1);
}
33% {
transform: scale(1.08);
}
66% {
transform: scale(0.94);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-perimeter-contour .perimeter-contour-ring-1,
.pulsar-perimeter-contour .perimeter-contour-ring-2,
.pulsar-perimeter-contour .perimeter-contour-ring-3 {
animation: none;
}
}