automated_uniapp/uni_modules/cool-ui/static/css/row.scss
2025-01-09 16:16:11 +08:00

60 lines
712 B
SCSS

.cl-row {
position: relative;
box-sizing: border-box;
&::after,
&::before {
content: "";
display: table;
}
&::after {
clear: both;
}
&--flex {
display: flex;
&::after,
&::before {
display: none;
}
}
&.is-justify-start {
justify-content: flex-start;
}
&.is-justify-center {
justify-content: center;
}
&.is-justify-end {
justify-content: flex-end;
}
&.is-justify-space-between {
justify-content: space-between;
}
&.is-justify-space-around {
justify-content: space-around;
}
&.is-align-top {
align-items: flex-start;
}
&.is-align-center {
align-items: center;
}
&.is-align-bottom {
align-items: flex-end;
}
&.is-wrap {
flex-wrap: wrap;
}
}