bdkjones / CodeKit-1-Old

146 stars 1 forks source link

less compiler produces invalid css #591

Closed ghost closed 11 years ago

ghost commented 11 years ago

This less code:

@twelve: 12;

p {
    font-size: (3*@twelve)px;
}

produces this css:

p {
    font-size: 36 px;
}

Note the space between '36' and 'px'.

ghost commented 11 years ago

Ok, apparently the correct way to achieve what I wanted is this:

@twelve: 12px;

p {
    font-size: (3*@twelve);
}

So, um, nevermind.