1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- .u-flex {
- display: flex;
- flex-direction: row;
- align-items: center;
- }
- .u-flex-wrap {
- flex-wrap: wrap;
- }
- .u-flex-nowrap {
- flex-wrap: nowrap;
- }
- .u-col-center {
- align-items: center;
- }
- .u-col-top {
- align-items: flex-start;
- }
- .u-col-bottom {
- align-items: flex-end;
- }
- .u-row-center {
- justify-content: center;
- }
- .u-row-left {
- justify-content: flex-start;
- }
- .u-row-right {
- justify-content: flex-end;
- }
- .u-row-between {
- justify-content: space-between;
- }
- .u-row-around {
- justify-content: space-around;
- }
- .u-text-left {
- text-align: left;
- }
- .u-text-center {
- text-align: center;
- }
- .u-text-right {
- text-align: right;
- }
- .u-flex-col {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: column;
- }
- // 定义flex等分
- @for $i from 0 through 12 {
- .u-flex-#{$i} {
- flex: $i;
- }
- }
|