With SASS I've been able to write code that uses interpolation to create a variable based mixin:
@mixin browserPrefix($property, $value)
-webkit-#{$property}: $value
-moz-#{$property}: $value
-ms-#{$property}: $value
-o-#{$property}: $value
#{$property}: $value
This is really flexible as I'm able to simply write @include browserPrefix($property: border-radius, $value: 3px) and get all of the browser prefixes when it compiles. This include allows for multiple different uses.
Is there a way to do this with LESS? I've tried using @{property} as the replacement, but it doesn't seem to work. Any suggestions please let me know, pretty new to LESS.