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.
 
 

426 B

布局排序

  • order: 3

列排序。

通过使用 .col-push-*.col-pull-* 类就可以很容易的改变列(column)的顺序。


import { Row, Col } from 'antd';

ReactDOM.render(
  <div>
    <Row>
      <Col span="18" push="6">.col-18 .col-push-6</Col>
      <Col span="6" pull="18">.col-6 .col-pull-18</Col>
    </Row>
  </div>,
  document.getElementById('components-layout-demo-sort')
);