1.混合用法
2.函数用法
1. @mixin ellipsis-one { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;} .test { @inculde ellipsis-one; }2. @mixin hoverColor ($color, $deepColor) { color: $color; cursor: pointer; &:hover { color: $deepColor; }}.test { @inculde hoverColor(#555, #333);}


