[less.min.js - v2.5.3]
I tried to use 'calc' such as "width:calc(100% - 35px);" and it would calculate the 35px as a percent i.e. 100% - 35% (page displayed width:65%).
I am still new to LESS and not sure if this is a bug or maybe I am not using it correctly?
See --strict-math
and examples of escaping syntax (for the default --strict-math=off
) there.
Closing as expected behaviour.
Most helpful comment
You should use:
You can try it here.