Reagent
CSSStratified chemical interfaces inside a diagnostic cell ripple in opposing harmonic phase waves.
- 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
- waveminimalloopambient
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-reagent" data-pulsar="assay-reagent" viewBox="0 0 160 96"><rect width="80" height="56" x="40" y="20" stroke="currentColor" stroke-width="1.2" class="cuvette" opacity=".3" rx="2"></rect><path stroke="var(--pulsar-accent, currentColor)" stroke-width="1.4" d="M40 40q20-4 40 0t40 0" class="wave w-top"></path><path stroke="currentColor" stroke-width="1.4" d="M40 56q20 4 40 0t40 0" class="wave w-bot" opacity=".6"></path><line x1="40" x2="120" y1="48" y2="48" stroke="currentColor" stroke-dasharray="2 3" stroke-width=".8" class="datum" opacity=".3"></line></svg>
animation.css
.pulsar-assay-reagent {
display: block;
width: 100%;
height: 100%;
}
.pulsar-assay-reagent .wave.w-top {
animation: assay-reagent-wave-top 4s ease-in-out infinite;
}
.pulsar-assay-reagent .wave.w-bot {
animation: assay-reagent-wave-bot 4s ease-in-out infinite;
}
@keyframes assay-reagent-wave-top {
0%,
100% {
transform: scaleY(1);
transform-origin: center 40px;
}
50% {
transform: scaleY(-1);
transform-origin: center 40px;
}
}
@keyframes assay-reagent-wave-bot {
0%,
100% {
transform: scaleY(1);
transform-origin: center 56px;
}
50% {
transform: scaleY(-1);
transform-origin: center 56px;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-assay-reagent .wave.w-top,
.pulsar-assay-reagent .wave.w-bot {
animation: none;
transform: none;
}
}