vant-weapp/packages/col/index.css

10 lines
189 B
CSS

.van-col {
float: left;
box-sizing: border-box;
}
@for $i from 1 to 24 {
.van-col--$i { width: calc($i * 100% / 24); }
.van-col--offset-$i { margin-left: calc($i * 100% / 24); }
}