Elements

组件

栅格 Grid

Grid:等宽轨道的对齐网格。轨道数量由列数决定;设置 `minChildWidth` 后,则按容器能放下多少轨道自动计算。

#基础用法

grid/auto-fill Vue React
1
2
3
4
5
6
grid/basic Vue React
1
2
3
4
5
6
grid/loose Vue React
1
2
3
grid/twelve-columns Vue React
1
2
3
4
5
6
7
8
9
10
11
12

#属性

#Grid

属性类型默认值描述
columnsNumber12—
gapString"md"—
minChildWidthStringundefined—