mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 10:22:44 +08:00
16 lines
255 B
Plaintext
16 lines
255 B
Plaintext
.van-col {
|
|
float: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.generate(24);
|
|
.generate(@n, @i: 1) when (@i =< @n) {
|
|
.van-col--@{i} {
|
|
width: @i * (100% / 24);
|
|
}
|
|
.van-col--offset-@{i} {
|
|
margin-left: @i * (100% / 24);
|
|
}
|
|
.generate(@n, (@i + 1));
|
|
}
|