I am converting LESS to CSS, there I want to run the LESS function below:
.myPL( @val ) {
.pL @val{
padding-left:@val;
}
}
Function Call:
.myPL( 20px );
Expected result:
.pL20px{padding-left:20px}
But actual result is Syntax Error.
Please help me to concatenate the strings in class name in LESS.