栅格布局
import { Row, Col } from 'react-miniui';
栅格化布局12格分
span1
col-span2
col-span3
span1
col-span2
col-span3
col-span4
col-span4
col-span4
col-span5
col-span7
col-span6
col-span6
col-span4
col-span8
col-span2
col-span6 offset-span4
col-span4
col-span4
col-span4
<Row>
<Col span="4" className="bg-blue">col-span4</Col>
<Col span="8" className="bg-blue">col-span8</Col>
</Row>
<Row>
<Col span="2" className="bg-blue">col-span2</Col>
<Col span="6" offset="4" className="bg-blue">col-span6 offset-span4</Col>
</Row>
<Row>
<Col span="4" className="bg-blue">col-span4</Col>
<Col span="4" className="bg-blue">col-span4</Col>
<Col span="4" className="bg-blue">col-span4</Col>
</Row>
栅格化布局24格分
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
col-grid2
col-grid3
col-grid18
col-grid4
col-grid5
col-grid6
col-grid5
col-grid4
col-grid7
col-grid8
col-grid9
col-grid10
col-grid8 offset-grid8
col-grid16 offset-grid8
col-grid10
col-grid14
<Row className="demo-row align-center color-white">
<Col grid="8" className="bg-blue">col-grid10</Col>
<Col grid="8" offset="8" className="bg-blue">col-grid8 offset-grid8</Col>
</Row>
弹性栅格化布局
flex1
flex2
flex3
flex6
flex6
flex6
flex6