Files
YGChatCS/src/static/scss/flex.scss
2025-10-15 20:58:12 +08:00

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;
}