diff --git a/src/App/App.scss b/src/App/App.scss index 5c80a0ca6f8869575d766ee30778e809c37aaf6c..7ebe7ff81e97e327f4c5eeb3dcaab7dd40655dc5 100644 --- a/src/App/App.scss +++ b/src/App/App.scss @@ -3,7 +3,7 @@ $background: #E4FFF7; @function textShadow($precision, $size, $color){ $value: null; $offset: 0; - $length: $size * (1 / $precision) - 1; + $length: $size * calc(1 / $precision) - 1; @for $i from 0 through $length { $offset: $offset + $precision; @@ -100,7 +100,7 @@ $background: #E4FFF7; @for $item from 1 through 21 { span:nth-of-type(#{$item}){ - animation-delay: #{(3 + ($item/10))}s; + animation-delay: #{(3 + (calc($item / 10)))}s; } }