vant-weapp/packages/col/index.pcss
Yao e4dfc9e48c
[new feature] Layout: 新增 layout 组件 (#43)
* change example dir

* Update README.md

更新预览教程

* 新增 layout 组件

* exclude example

* change .wxss -> .pcss

* 脚本目录更名为 scripts
2017-10-31 17:41:31 +08:00

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); }
}