I've created separate mixins for border Shorthand property and another one for different sides.
Shorthand
.border(@width: 1px, @style: solid, @color: black){
border: @arguments;
}
Usage
.class1{
.border;
}
For different sides
.bordered(@property; @value) {
border-@{property}: @value;
}
Usage
.class2{
.bordered(top, 1px, solid red);
}
Is there a way to connect those too possibilities in one mixin?