You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
294 B
SCSS

4 months ago
// 通过scss的mixin功能把原来需要写4行的css变成一行
// 目的是保持代码干净整洁不至于在nvue下到处都要写display:flex的条件编译
@mixin flex($direction: row) {
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex-direction: $direction;
}