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

{props.children}

; export default () => ( <> Align Top col-4 col-4 col-4 col-4 Align Middle col-4 col-4 col-4 col-4 Align Bottom col-4 col-4 col-4 col-4 ); ``` ```css #components-grid-demo-flex-align [class~='ant-row'] { background: rgba(128, 128, 128, 0.08); } ```