1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/thebestweb-uni-app-style

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
flex.scss 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
theBestXH Отправлено 06.10.2020 05:00 7a873b5
@mixin flex {
display: flex;
}
@mixin flex-rw {
@include flex;
align-items: center;
flex-flow: row wrap;
}
@mixin flex-cw {
@include flex;
align-items: center;
flex-flow: column wrap;
}
.flex {
@include flex;
&-dif {
display: inline-flex !important;
}
&-all {
> * {
flex: 1;
}
}
&-1 {
flex: 1;
}
&-acfs {
align-content: flex-start !important;
}
&-acc {
align-content: center !important;
}
&-acfe {
align-content: flex-end !important;
}
&-aifs {
align-items: flex-start !important;
}
&-aic {
align-items: center !important;
}
&-aife {
align-items: flex-end !important;
}
&-asfs {
align-self: flex-start !important;
}
&-asc {
align-self: center !important;
}
&-asfe {
align-self: flex-end !important;
}
&-frn {
flex-flow: row nowrap !important;
}
&-fcn {
flex-flow: column nowrap !important;
}
&-sb {
@include flex-rw;
justify-content: space-between;
}
&-sa {
@include flex-rw;
justify-content: space-around;
}
&-fs {
@include flex-rw;
justify-content: flex-start;
}
&-c {
@include flex-rw;
justify-content: center;
}
&-fe {
@include flex-rw;
justify-content: flex-end;
}
&-v {
@include flex;
flex-direction: column;
overflow: hidden;
}
&-vsb {
@include flex-cw;
justify-content: space-between;
}
&-vsa {
@include flex-cw;
justify-content: space-around;
}
&-vfs {
@include flex-cw;
justify-content: flex-start;
}
&-vc {
@include flex-cw;
justify-content: center;
}
&-vfe {
@include flex-cw;
justify-content: flex-end;
}
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/thebestweb-uni-app-style.git
git@api.gitlife.ru:oschina-mirror/thebestweb-uni-app-style.git
oschina-mirror
thebestweb-uni-app-style
thebestweb-uni-app-style
master