Correct LESS CSS computation syntax
I have a variable that sets a percentage:
@var-a: 50%;
And another that is a fixed width:
@var-b: 100px;
I want to calculate @var-c as below:
@var-c: (@var-a * @var-b);
I expected 50px, but actually get 5000px. What am I doing wrong?
No comments:
Post a Comment