I am trying to write a LESS mixin with multiple input parameter values for CSS transforms. The input values are the type of transformation to be done and the value associate
Just escape the string using ~ like shown below. Doing this would make sure that the quotes are not printed in the output CSS.
~
Input Code:
transform: ~"@{type}(@{value})";
or
transform: e("@{type}(@{value})");
Mixin Call:
.transform(rotateY;360deg);
Output CSS:
transform: rotateY(360deg);