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.
 
 

367 B

布局排序

  • order: 3

列排序。

通过使用 pushpull 类就可以很容易的改变列(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>,
  mountNode
);