Elements

组件

容器 Container

Container:版心容器。内容限制在指定行宽内并居中。尺寸对应排版行宽而不是断点;页面决定边缘,容器只决定一行文字的长度。

#基础用法

container/basic Vue React

The page hands the container its width; the container hands back a line long enough to settle into and short enough to find its way back to.

container/sizes Vue React
narrow
readable
wide
full
container/unpadded Vue React

Ink straight to the edge of the measure.

#属性

#Container

属性类型默认值描述
sizeString"readable"内容排版宽度,可为 narrow、readable、wide 或 full
paddingBooleantrue—