I'm still discovering the utility of this technology. Please I have a question if someone can answer me. I'm trying to create a function like:
.advancedBorder( @color, @size )
{
border: @size solid @color;
}
div
{
.advancedBorder( #FFF, 1px 0px 1px 0px);
}
So, I tried in many ways to make it possible but without any success.
The real reason is to create a function that can be added to any box and setting for it any border size and color I prefer with minimum lines of code. Can someone show me how can be done?
Thanks!