Hazmat Segregation
CSSTwo hazardous material containment blocks separate on a drafting grid, establishing a dynamic safety buffer zone between them.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Data and progress
- Use cases
- Security and trust, Compliance and audit
- Industries
- Logistics and supply chain
- Style
- Technical · light stroke
- Set
- yard
- Tags
- gridgeometricminimal
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-yard-hazmat-segregation" data-pulsar="yard-hazmat-segregation" viewBox="0 0 160 96"><line x1="28" x2="132" y1="48" y2="48" stroke-dasharray="2 3" opacity=".3"></line><rect width="18" height="20" x="42" y="38" stroke-width="1.5" class="hazmat hleft" rx="2"></rect><rect width="18" height="20" x="100" y="38" stroke-width="1.5" class="hazmat hright" rx="2"></rect><g class="buffer-zone"><rect width="24" height="24" x="68" y="36" fill="var(--pulsar-accent, currentColor)" fill-opacity=".15" stroke="var(--pulsar-accent, currentColor)" stroke-dasharray="2 2" stroke-width="1.5" rx="2"></rect><line x1="72" x2="88" y1="48" y2="48" stroke="var(--pulsar-accent, currentColor)" stroke-width="1.5"></line></g></svg>
animation.css
.pulsar-yard-hazmat-segregation {
display: block;
overflow: visible;
}
.pulsar-yard-hazmat-segregation .hazmat.hleft {
animation: yard-hazmat-segregation-left 4000ms ease-in-out infinite;
}
.pulsar-yard-hazmat-segregation .hazmat.hright {
animation: yard-hazmat-segregation-right 4000ms ease-in-out infinite;
}
.pulsar-yard-hazmat-segregation .buffer-zone {
animation: yard-hazmat-segregation-buffer 4000ms ease-in-out infinite;
}
@keyframes yard-hazmat-segregation-left {
0%,
15% {
transform: translateX(8px);
}
45%,
80% {
transform: translateX(-6px);
}
95%,
100% {
transform: translateX(8px);
}
}
@keyframes yard-hazmat-segregation-right {
0%,
15% {
transform: translateX(-8px);
}
45%,
80% {
transform: translateX(6px);
}
95%,
100% {
transform: translateX(-8px);
}
}
@keyframes yard-hazmat-segregation-buffer {
0%,
20% {
opacity: 0.2;
transform: scaleX(0.7);
}
45%,
80% {
opacity: 1;
transform: scaleX(1);
}
95%,
100% {
opacity: 0.2;
transform: scaleX(0.7);
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-yard-hazmat-segregation .hazmat.hleft,
.pulsar-yard-hazmat-segregation .hazmat.hright,
.pulsar-yard-hazmat-segregation .buffer-zone {
animation: none;
transform: none;
opacity: 1;
stroke-dashoffset: 0;
}
}