// css 中定义 @mixin flip-horizontal { transform: scale(-1, 1); } // 某个样式模块下引用 @include flip-horizontal; 希望有用,不用谢。