daoji_h5/styles/layout.wxss

61 lines
749 B
Plaintext
Raw Normal View History

2024-03-21 05:53:51 +00:00
/*flex布局,可以自己定义适合自己的*/
.flex {
display: flex;
}
.flex-1 {
flex: 1;
}
.flex-column {
display: flex;
flex-direction: column;
}
.flex-warp {
display: flex;
flex-wrap: wrap;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
.flex-between {
display: flex;
align-items: center;
justify-content: space-between;
}
.flex-x-center {
display: flex;
justify-content: center;
}
.flex-x-between {
display: flex;
justify-content: space-between;
}
.flex-y-center {
display: flex;
align-items: center;
}
.flex-y-start {
display: flex;
align-items: flex-start;
}
.flex-y-end {
display: flex;
align-items: flex-end;
}
.flex-y-baseline {
display: flex;
align-items: baseline;
}