I was wondering how to achieve the following CSS with LESS:
.spacingTop {
margin-top: 8px;
}
.spacingRight {
margin-right: 8px;
}
.spacingBottom {
margin-bottom: 8px;
}
.spacingLeft {
margin-left: 8px;
}
Should I do something with Iterations?
What you actually want to do? Becouse LESS CSS was created to organizate your code. This classes are totally diffrent. I suggest you to use mixins. For this i will use this following as example :
... and use it later as following
Hope it helps! :)