Skip to content

栅格 Grid

流体风格的布局容器。

Attributes

属性描述类型推荐值默认
container容器属性boolean-false
spacing子组件间距number-0
justifyContentcss 属性"justify-content"stringjustify-contentflex-start
alignItemscss 属性"align-items"stringalign-itemsstretch
alignContentcss 属性"align-content"stringalign-contentstretch
directioncss 属性"flex-direction"stringflex-directionrow
wrapcss 属性"flex-wrap"stringflex-wrapwrap
xs栅格宽度,影响 xs 断点与更宽的屏幕number / boolean0-24,true,falsefalse
sm栅格宽度,影响 sm 断点与更宽的屏幕number / boolean0-24,true,falsefalse
md栅格宽度,影响 md 断点与更宽的屏幕number / boolean0-24,true,falsefalse
lg栅格宽度,影响 lg 断点与更宽的屏幕number / boolean0-24,true,falsefalse
xl栅格宽度,影响 xl 断点与更宽的屏幕number / boolean0-24,true,falsefalse

Released under the MIT License.