/* Reconstruction */
/*@mixin border($position){
@if $position == left-right or $position == right-left{
border-left: 1px solid $border-color;
border-right: 1px solid $border-color;
}
@else if $position == left-right-bottom or $position == right-left-bottom or $position == bottom-left-right or $position == bottom-right-left{
border: 1px solid $border-color;
border-top: 0;
}@else if $position == left or $position == right or $position == top or $position == bottom {
border-#{$position}:1px solid $border-color;
}
@else{
border: 1px solid $border-color;
}
}*/
转载于:https://www.cnblogs.com/xisitan/p/5301038.html