Parallax
CSSTwo offset grid layers shift in opposite directions until their grid lines align perfectly, creating a single unified grid pattern.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Sync and integration, Workflow and approvals
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Technical · light stroke
- Set
- calibrate
- Tags
- gridbarslineminimalgeometric
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" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="pulsar pulsar-calibrate-parallax" data-pulsar="calibrate-parallax" viewBox="0 0 160 96"><circle cx="80" cy="48" r="32" stroke-width="1.5" opacity=".4"></circle><circle cx="80" cy="48" r="36" stroke-dasharray="3 3" opacity=".25"></circle><g class="calibrate-parallax-grid-1"><line x1="68" x2="68" y1="22" y2="74" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line><line x1="80" x2="80" y1="18" y2="78" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="92" x2="92" y1="22" y2="74" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line></g><g class="calibrate-parallax-grid-2"><line x1="68" x2="68" y1="22" y2="74" stroke-width="1.2" opacity=".6"></line><line x1="80" x2="80" y1="18" y2="78" stroke-width="1.5" opacity=".7"></line><line x1="92" x2="92" y1="22" y2="74" stroke-width="1.2" opacity=".6"></line></g><circle cx="80" cy="48" r="28" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="calibrate-parallax-flash"></circle></svg>
animation.css
.pulsar-calibrate-parallax {
display: block;
overflow: visible;
}
.pulsar-calibrate-parallax .calibrate-parallax-grid-1 {
animation: calibrate-parallax-shift-1 4000ms cubic-bezier(0.25, 1.2, 0.4, 1) infinite;
}
.pulsar-calibrate-parallax .calibrate-parallax-grid-2 {
animation: calibrate-parallax-shift-2 4000ms cubic-bezier(0.25, 1.2, 0.4, 1) infinite;
}
.pulsar-calibrate-parallax .calibrate-parallax-flash {
transform-origin: 80px 48px;
animation: calibrate-parallax-coincidence-burst 4000ms ease-out infinite;
}
@keyframes calibrate-parallax-shift-1 {
0% {
transform: translateX(-8px);
opacity: 0.5;
}
35%,
75% {
transform: translateX(0px);
opacity: 1;
}
92%,
100% {
transform: translateX(-8px);
opacity: 0.5;
}
}
@keyframes calibrate-parallax-shift-2 {
0% {
transform: translateX(8px);
opacity: 0.5;
}
35%,
75% {
transform: translateX(0px);
opacity: 1;
}
92%,
100% {
transform: translateX(8px);
opacity: 0.5;
}
}
@keyframes calibrate-parallax-coincidence-burst {
0%,
34% {
transform: scale(0.8);
opacity: 0;
}
38% {
opacity: 0.9;
}
60%,
100% {
transform: scale(1.3);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-calibrate-parallax .calibrate-parallax-grid-1,
.pulsar-calibrate-parallax .calibrate-parallax-grid-2,
.pulsar-calibrate-parallax .calibrate-parallax-flash {
animation: none;
transform: none;
opacity: 1;
}
.pulsar-calibrate-parallax .calibrate-parallax-flash {
opacity: 0;
}
}