example:
a {
left : calc(50% - 40px);
width: 40px;
}
gets compiled as:
a {
left: calc(50% - 40%);
width: 40px;
}
/* or */
a {
left: 10%;
width: 40px;
}
What do?
Is Strict Math enabled when you build? http://lesscss.org/usage/#command-line-usage-strict-math
You could try escaping the value:
a {
left: calc(~"50% - 40px");
width: 40px;
}
Yes: --strict-math
.
Closing as duplicate of #974.
Most helpful comment
Is Strict Math enabled when you build? http://lesscss.org/usage/#command-line-usage-strict-math
You could try escaping the value: