mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
update layout
This commit is contained in:
parent
952f8aabbc
commit
d4e13e7616
@ -1,8 +1,8 @@
|
||||
---
|
||||
order: 0
|
||||
title:
|
||||
zh-CN: 基础布局
|
||||
en-US: Basic Layout
|
||||
zh-CN: 基础栅格
|
||||
en-US: Basic Grid
|
||||
---
|
||||
|
||||
## zh-CN
|
||||
@ -15,7 +15,7 @@ title:
|
||||
|
||||
From the stack to the horizontal arrangement.
|
||||
|
||||
You can create a basic grid system by using a single set of `Row` and` Col` grid assembly, ,all of the columns (Col) must be placed in `Row`.
|
||||
You can create a basic grid system by using a single set of `Row` and` Col` grid assembly, all of the columns (Col) must be placed in `Row`.
|
||||
|
||||
````jsx
|
||||
import { Row, Col } from 'antd';
|
||||
|
@ -1,8 +1,8 @@
|
||||
---
|
||||
order: 2
|
||||
title:
|
||||
title:
|
||||
zh-CN: 左右偏移
|
||||
en-US: Offset
|
||||
en-US: Column offset
|
||||
---
|
||||
|
||||
## zh-CN
|
||||
@ -15,9 +15,6 @@ title:
|
||||
|
||||
`Offset` can set the column to the right side. For example, using `offset = {4}` can set the element shifted to the right four columns width.
|
||||
|
||||
Column offset.
|
||||
|
||||
|
||||
````jsx
|
||||
import { Row, Col } from 'antd';
|
||||
|
||||
|
@ -13,7 +13,7 @@ title:
|
||||
|
||||
## en-US
|
||||
|
||||
`Span`` pull` `push`` offset` `order` property can be embedded into` xs` `sm`` md` `lg` properties to use,
|
||||
`Span` pull` `push` offset` `order` property can be embedded into` xs` `sm` md` `lg` properties to use,
|
||||
where `xs = {6}` is equivalent to `xs = {{span: 6}}`.
|
||||
|
||||
````jsx
|
||||
|
@ -11,7 +11,7 @@ title:
|
||||
|
||||
## en-US
|
||||
|
||||
Referring to the Bootstrap [responsive design] (http://getbootstrap.com/css/#grid-media-queries), here preset four dimensions: `xs`` sm` `md`` lg`.
|
||||
Referring to the Bootstrap [responsive design] (http://getbootstrap.com/css/#grid-media-queries), here preset four dimensions: `xs` sm` `md` lg`.
|
||||
|
||||
````jsx
|
||||
import { Row, Col } from 'antd';
|
||||
|
@ -1,8 +1,8 @@
|
||||
---
|
||||
order: 3
|
||||
title:
|
||||
zh-CN: 布局排序
|
||||
en-US: Layout sort
|
||||
title:
|
||||
zh-CN: 栅格排序
|
||||
en-US: Grid sort
|
||||
---
|
||||
|
||||
## zh-CN
|
||||
|
Loading…
Reference in New Issue
Block a user