Closed tehtrav closed 9 years ago
I find myself doing something like this often:
@include breakpoint($lake - 1) { ... }
Which works, perfectly, but if I want to use a variable for min & max I have to do something like this:
$newLake: $lake - 1; @include breakpoint($puddle $newLake) { ... }
Is there a way to do the math operation inside the mixin? I know this is probably a SASS question rather than a Breakpoint question but I had trouble finding an answer elsewhere.
Per our README, general questions should be asked on Stack Overflow
I find myself doing something like this often:
Which works, perfectly, but if I want to use a variable for min & max I have to do something like this:
Is there a way to do the math operation inside the mixin? I know this is probably a SASS question rather than a Breakpoint question but I had trouble finding an answer elsewhere.