You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
388 B

---
order: 3
title: 布局排序
---
列排序。
通过使用 `push``pull` 类就可以很容易的改变列(column)的顺序。
````jsx
import { Row, Col } from 'antd';
ReactDOM.render(
<div>
<Row>
<Col span={18} push={6}>.ant-col-18 .ant-col-push-6</Col>
<Col span={6} pull={18}>.ant-col-6 .ant-col-pull-18</Col>
</Row>
</div>,
mountNode
);
````