Can anyone please tell me how to concatenate a var and a string in LESS so I don\'t have the space between them?
I have the following code:
.text(@si
In case any late-comers find this thread:
There is a built-in function for this:
unit(@dimension, [@unit: ""]);
So font-size: unit(@size, px); should result in font-size: 12px. I tested it.
font-size: unit(@size, px);
font-size: 12px
http://lesscss.org/#reference