# Col configuration
TIP
All components support layout configuration rules, details refer to
# Configuration rules
You can set layout rules through col configuration items
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
span | The number of occupied cells of the grid. The optional value is an integer from 0 to 24. When it is 0, it is equivalent todisplay:none | Number ,String | 24 |
labelWidth | Set the width of the form field 'label' | Number | 150 |
order | The order of the grid is valid in 'flex' layout mode | Number ,String | - |
offset | The number of spaces on the left side of the grid. There can be no grids in the space | Number ,String | - |
push | The number of cells the grid moves to the right | Number ,String | - |
pull | The number of cells the grid moves to the left | Number ,String | - |
class-name | Custom class name | String | - |
xs | <768px responsive grid, which can be the number of grids or an object with other attributes | Number ,Object | - |
sm | ≥768px responsive grid, which can be the number of grids or an object with other attributes | Number ,Object | - |
md | ≥992px responsive grid, which can be the number of grids or an object with other attributes | Number ,Object | - |
lg | ≥1200px responsive grid, which can be the number of grids or an object with other attributes | Number ,Object | - |
← Global config Maker →