Answer the question
In order to leave comments, you need to log in
Variables not working in calc?
I came across this miracle:
$one : 1170px;
$two : 500px;
$three : calc($one - $two);
Answer the question
In order to leave comments, you need to log in
calc(#{$one} - #{$two});
https://github.com/sass/sass/issues/818
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question