I'm using twitter bootstrap with less and I have the following:
@serifFontFamily: 'Droid Serif', "Georgia", Times, serif;
@baseFontSize: 100%/1.5;
font: @baseFontSize @serfiFontFamily;
it produces:
font: 66.666666667% 'Droid Serif', "Georgia", Times, serif
but I want to output this:
font: 100%/1.5 'Droid Serif', "Georgia", Times, serif
Any tips?
You can use
and less will interpret it as a string and not as an expression.
I had decomposed the property font in 3 properties:
and my variables:
than it works properly!