mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
* change example dir * Update README.md 更新预览教程 * 新增 layout 组件 * exclude example * change .wxss -> .pcss * 脚本目录更名为 scripts
11 lines
199 B
Plaintext
11 lines
199 B
Plaintext
.zan-col {
|
|
float: left;
|
|
box-sizing: border-box;
|
|
width: 0;
|
|
}
|
|
|
|
@for $i from 1 to 24 {
|
|
.zan-col-$i { width: calc($i * 100% / 24); }
|
|
.zan-col-offset-$i { margin-left: calc($i * 100% / 24); }
|
|
}
|