Boundary
CSSA horizontal dashed line splits the coordinate plane, with tiny vertical tick marks scrolling continuously from left to right along the dividing line.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Backgrounds and ambient
- Use cases
- Security and trust, Ambient background
- Industries
- SaaS and software, Security and identity
- Style
- Technical · light stroke
- Set
- perimeter
- Tags
- lineambientgridminimalstroke
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-boundary" data-pulsar="perimeter-boundary" viewBox="0 0 160 96"><path stroke="currentColor" d="M16 28v-8h8" opacity=".3"></path><path stroke="currentColor" d="M144 28v-8h-8" opacity=".3"></path><path stroke="currentColor" d="M16 68v8h8" opacity=".3"></path><path stroke="currentColor" d="M144 68v8h-8" opacity=".3"></path><line x1="24" x2="136" y1="32" y2="32" stroke="currentColor" stroke-dasharray="2 6" opacity=".2"></line><line x1="24" x2="136" y1="64" y2="64" stroke="currentColor" stroke-dasharray="2 6" opacity=".2"></line><line x1="16" x2="144" y1="48" y2="48" stroke="currentColor" opacity=".4"></line><g class="perimeter-boundary-track"><path stroke="currentColor" d="M10 44v8m10-7v6m10-7v8m10-7v6m10-7v8m10-7v6m10-7v8m10-9v10m10-8v6m10-7v8m10-7v6m10-7v8m10-7v6m10-7v8m10-7v6m10-7v8m10-7v6" opacity=".6"></path></g><g class="perimeter-boundary-cursor"><line x1="80" x2="80" y1="38" y2="58" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><circle cx="80" cy="48" r="3" fill="var(--pulsar-accent, currentColor)" fill-opacity=".2" stroke="var(--pulsar-accent, currentColor)"></circle><circle cx="80" cy="48" r="6" stroke="var(--pulsar-accent, currentColor)" class="perimeter-boundary-pulse" opacity=".8"></circle></g></svg>
animation.css
.pulsar-perimeter-boundary {
display: block;
overflow: visible;
}
.pulsar-perimeter-boundary .perimeter-boundary-track {
animation: perimeter-boundary-scroll-anim 4000ms linear infinite;
}
.pulsar-perimeter-boundary .perimeter-boundary-cursor {
animation: perimeter-boundary-cursor-anim 4000ms ease-in-out infinite;
}
.pulsar-perimeter-boundary .perimeter-boundary-pulse {
animation: perimeter-boundary-pulse-anim 2000ms ease-out infinite;
transform-origin: 80px 48px;
}
@keyframes perimeter-boundary-scroll-anim {
0% {
transform: translateX(0);
}
100% {
transform: translateX(20px);
}
}
@keyframes perimeter-boundary-cursor-anim {
0%,
100% {
transform: translateX(-35px);
}
50% {
transform: translateX(35px);
}
}
@keyframes perimeter-boundary-pulse-anim {
0% {
transform: scale(0.6);
opacity: 0.9;
}
100% {
transform: scale(1.6);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-perimeter-boundary .perimeter-boundary-track,
.pulsar-perimeter-boundary .perimeter-boundary-cursor,
.pulsar-perimeter-boundary .perimeter-boundary-pulse {
animation: none;
}
}