45 lines
492 B
SCSS
45 lines
492 B
SCSS
// 弹性布局
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.flex-items-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.flex-justify-start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.flex-justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.flex-justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.flex-justify-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.flex-col {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.flex-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.flex-nowrap {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.flex-full {
|
|
flex: 1;
|
|
}
|
|
|
|
.flex-shrink-0 {
|
|
flex-shrink: 0;
|
|
}
|