This might be a quick and easy question, but I was still unable to find the answer.
In less, is there any way of using a mixin (say .mixin(@a: 2, @b: 3) { /* css here */ }
) and only supplying values for given parameters? I know I can use this as .mixin(5)
which would be the same as .mixin(5, 3)
, but can I do something like .mixin(@b: 5)
? Meaning the same as .mixin(2, 5)
(however I wouldn't have to know the value of a to use the default).