For a simple mixin prefix, especially if the property has optional values, it would be better not to have specific arguments. In the case of a shadow window, blurring and offsetting are optional (note that your mixiin only takes into account blurring, not offset).
@mixin box-shadow($value) { -webkit-box-shadow: $value; -moz-box-shadow: $value; box-shadow: $value; } .foo { @include box-shadow(0 0 .25em .25em black); } .bar { @include box-shadow(inset 1px 1px 1px blue); }
Thus, you have already practiced the correct order of values, and you do not need to relearn them when your mixin prefix is ββno longer needed. In addition, you will not have all of these commas to delete. Note that this is how Compass contains all of its prefix mixes.
source share