Is is possible to concatonate the value of a less mixin variable within a css selector name?
ie:
.leftImage{
.alignContent(left);
}
.alignContent(@side: left; @marAmount: 20px;){
img{
float: @side
margin-@side: @marAmount;
}
}
So what im trying to do is mixin the value of @side (in this instance) with a partial css selector of 'margin-' ultimately trying to create 'margin-'left'' (without the quotes)