mirror of https://github.com/zer0bin-dev/zer0bin
fix: ⚗️ Try secondary calc
This commit is contained in:
parent
d260e338f5
commit
1bd6d3721a
|
@ -253,7 +253,7 @@ $partSize: 5em;
|
|||
@for $p from 1 through $parts {
|
||||
&:nth-of-type(#{$p}) {
|
||||
animation-delay: $dur * random();
|
||||
left: calc((100% - #{$partSize}) * math.div($p - 1, $parts));
|
||||
left: calc((100% - #{$partSize}) * calc(($p - 1) / $parts));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue