--- order: 4 title: zh-CN: Flex 布局 en-US: Flex Layout --- ## zh-CN Flex 布局基础。 使用 `row-flex` 定义 `flex` 布局,其子元素根据不同的值 `start`,`center`,`end`,`space-between`,`space-around`,分别定义其在父节点里面的排版方式。 ## en-US Use `row-flex` define` flex` layout, its child elements depending on the value of the `start`,` center`, `end`,` space-between`, `space-around`, which are defined in its parent node layout mode. ````jsx import { Row, Col } from 'antd'; ReactDOM.render(

sub-element align left

.ant-col-4 .ant-col-4 .ant-col-4 .ant-col-4

sub-element align center

.ant-col-4 .ant-col-4 .ant-col-4 .ant-col-4

sub-element align right

.ant-col-4 .ant-col-4 .ant-col-4 .ant-col-4

sub-element monospaced arrangement

.ant-col-4 .ant-col-4 .ant-col-4 .ant-col-4

sub-element align full

.ant-col-4 .ant-col-4 .ant-col-4 .ant-col-4
, mountNode ); ````