Crosshair
CSSA central crosshair symbol shifts slightly along the X and Y axes until it locks onto a target dot at the center of a grid.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Dashboards and reporting, Workflow and approvals
- Industries
- Manufacturing and industrial, Cross-industry
- Style
- Technical · light stroke
- Set
- calibrate
- Tags
- geometriccirclepulselineminimal
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-crosshair" data-pulsar="calibrate-crosshair" viewBox="0 0 160 96"><circle cx="80" cy="48" r="30" stroke-width="1.5" opacity=".3"></circle><circle cx="80" cy="48" r="18" stroke-dasharray="2 3" opacity=".4"></circle><line x1="42" x2="48" y1="48" y2="48" stroke-width="1.5" opacity=".4"></line><line x1="112" x2="118" y1="48" y2="48" stroke-width="1.5" opacity=".4"></line><line x1="80" x2="80" y1="10" y2="16" stroke-width="1.5" opacity=".4"></line><line x1="80" x2="80" y1="80" y2="86" stroke-width="1.5" opacity=".4"></line><circle cx="80" cy="48" r="2.5" fill="var(--pulsar-accent, currentColor)" stroke="var(--pulsar-accent, currentColor)"></circle><g class="calibrate-crosshair-reticle"><line x1="62" x2="74" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="86" x2="98" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="80" x2="80" y1="30" y2="42" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><line x1="80" x2="80" y1="54" y2="66" stroke="var(--pulsar-accent, currentColor)" stroke-width="2"></line><circle cx="80" cy="48" r="8" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="2 2" stroke-width="1.2"></circle></g><circle cx="80" cy="48" r="18" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5" class="calibrate-crosshair-lock"></circle></svg>
animation.css
.pulsar-calibrate-crosshair {
display: block;
overflow: visible;
}
.pulsar-calibrate-crosshair .calibrate-crosshair-reticle {
animation: calibrate-crosshair-seek 4000ms cubic-bezier(0.2, 1.3, 0.4, 1) infinite;
}
.pulsar-calibrate-crosshair .calibrate-crosshair-lock {
transform-origin: 80px 48px;
animation: calibrate-crosshair-lock-pulse 4000ms ease-out infinite;
}
@keyframes calibrate-crosshair-seek {
0% {
transform: translate(-8px, 6px);
opacity: 0.6;
}
20% {
transform: translate(4px, -5px);
opacity: 0.8;
}
35%,
75% {
transform: translate(0px, 0px);
opacity: 1;
}
90%,
100% {
transform: translate(-8px, 6px);
opacity: 0.6;
}
}
@keyframes calibrate-crosshair-lock-pulse {
0%,
34% {
transform: scale(0.7);
opacity: 0;
}
40% {
opacity: 0.85;
}
60%,
100% {
transform: scale(1.4);
opacity: 0;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-calibrate-crosshair .calibrate-crosshair-reticle,
.pulsar-calibrate-crosshair .calibrate-crosshair-lock {
animation: none;
transform: none;
opacity: 1;
}
.pulsar-calibrate-crosshair .calibrate-crosshair-lock {
opacity: 0;
}
}