style: ⚗️ Try `math.div()`

This commit is contained in:
ThatOneCalculator 2022-04-03 19:36:19 -07:00
parent 658538fd61
commit d260e338f5
2 changed files with 297 additions and 504 deletions

View File

@ -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