Partition
CSSAn interior partition wall draws down the center of an open floorplate with directional subdivision rules.
- Tier
- CSS
- Dependencies
- None
- Duration
- 4 s, loops
- Categories
- Icons and micro-interactions
- Use cases
- Determinate progress, Workflow and approvals
- Industries
- Real estate and property, Construction and built environment
- Style
- Technical · light stroke
- Set
- floorplate
- Tags
- lineminimalloopstroke
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-floorplate-partition" data-pulsar="floorplate-partition" viewBox="0 0 160 96"><rect width="100" height="52" x="30" y="22" stroke="currentColor" stroke-width="1.2" class="boundary" opacity=".3" rx="1"></rect><line x1="80" x2="80" y1="22" y2="74" stroke="var(--pulsar-accent, currentColor)" stroke-linecap="round" stroke-width="1.6" class="divider"></line><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" d="M68 48H54m6-4-6 4 6 4" class="arrow-l"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.2" d="M92 48h14m-6-4 6 4-6 4" class="arrow-r"></path></svg>
animation.css
.pulsar-floorplate-partition {
display: block;
width: 100%;
height: 100%;
}
.pulsar-floorplate-partition .divider {
stroke-dasharray: 52;
animation: floorplate-partition-draw 4s ease-in-out infinite;
}
.pulsar-floorplate-partition .arrow-l {
animation: floorplate-partition-split-l 4s ease-in-out infinite;
}
.pulsar-floorplate-partition .arrow-r {
animation: floorplate-partition-split-r 4s ease-in-out infinite;
}
@keyframes floorplate-partition-draw {
0% {
stroke-dashoffset: 52;
opacity: 0;
}
30%,
80% {
stroke-dashoffset: 0;
opacity: 1;
}
100% {
stroke-dashoffset: 0;
opacity: 0.3;
}
}
@keyframes floorplate-partition-split-l {
0%,
100% {
transform: translateX(0);
opacity: 0.3;
}
50% {
transform: translateX(-6px);
opacity: 1;
}
}
@keyframes floorplate-partition-split-r {
0%,
100% {
transform: translateX(0);
opacity: 0.3;
}
50% {
transform: translateX(6px);
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.pulsar-floorplate-partition .divider,
.pulsar-floorplate-partition .arrow-l,
.pulsar-floorplate-partition .arrow-r {
animation: none;
transform: none;
stroke-dashoffset: 0;
opacity: 1;
}
}