Microscope
CSSDelicate cellular boundary envelopes drift smoothly through a calibrated optical reticle field.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Backgrounds and ambient
- Use cases
- Ambient background
- Industries
- Healthcare and life sciences
- Style
- Technical · light stroke
- Set
- assay
- Tags
- circleambientloopgrid
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-assay-microscope" data-pulsar="assay-microscope" viewBox="0 0 160 96"><circle cx="80" cy="48" r="34" stroke="currentColor" stroke-width=".8" class="reticle-circle" opacity=".25"></circle><line x1="42" x2="118" y1="48" y2="48" stroke="currentColor" stroke-dasharray="2 4" stroke-width=".8" class="cross-h" opacity=".3"></line><line x1="80" x2="80" y1="10" y2="86" stroke="currentColor" stroke-dasharray="2 4" stroke-width=".8" class="cross-v" opacity=".3"></line><circle cx="72" cy="42" r="10" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.2" class="cell c1"></circle><circle cx="88" cy="54" r="8" stroke="currentColor" stroke-width="1.2" class="cell c2" opacity=".6"></circle><circle cx="64" cy="58" r="5" stroke="var(--pulsar-accent, currentColor)" class="cell c3"></circle></svg>
animation.css
.pulsar-assay-microscope {
display: block;
width: 100%;
height: 100%;
}
.pulsar-assay-microscope .cell.c1 {
animation: assay-microscope-drift1 4s ease-in-out infinite;
}
.pulsar-assay-microscope .cell.c2 {
animation: assay-microscope-drift2 4s ease-in-out infinite;
}
.pulsar-assay-microscope .cell.c3 {
animation: assay-microscope-drift3 4s ease-in-out infinite;
}
@keyframes assay-microscope-drift1 {
0%,
100% {
transform: translate(0, 0);
}
50% {
transform: translate(4px, -3px);
}
}
@keyframes assay-microscope-drift2 {
0%,
100% {
transform: translate(0, 0);
}
50% {
transform: translate(-3px, 4px);
}
}
@keyframes assay-microscope-drift3 {
0%,
100% {
transform: translate(0, 0);
}
50% {
transform: translate(2px, 2px);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-assay-microscope .cell.c1,
.pulsar-assay-microscope .cell.c2,
.pulsar-assay-microscope .cell.c3 {
animation: none;
transform: none;
}
}