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.
 
 

433 B

布局排序

  • order: 3

列排序。

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


var Row = antd.Row;
var Col = antd.Col;

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')
);