--- order: 5 title: zh-CN: 对齐 en-US: Alignment --- ## zh-CN 子元素垂直对齐。 ## en-US Child elements vertically aligned. ```jsx import { Row, Col } from 'antd'; const DemoBox = props =>

{props.children}

; ReactDOM.render(

Align Top

col-4 col-4 col-4 col-4

Align Center

col-4 col-4 col-4 col-4

Align Bottom

col-4 col-4 col-4 col-4
, mountNode, ); ``` ```css #components-grid-demo-flex-align [class~='ant-row'] { background: rgba(128, 128, 128, 0.08); } ```