mirror of https://github.com/zer0bin-dev/zer0bin
style: ⚗️ Try `math.div()`
This commit is contained in:
parent
658538fd61
commit
d260e338f5
|
@ -253,7 +253,7 @@ $partSize: 5em;
|
|||
@for $p from 1 through $parts {
|
||||
&:nth-of-type(#{$p}) {
|
||||
animation-delay: $dur * random();
|
||||
left: calc((100% - #{$partSize}) * #{($p - 1) / $parts});
|
||||
left: calc((100% - #{$partSize}) * math.div($p - 1, $parts));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue