mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
docs: explain what it n, close: #6934
This commit is contained in:
parent
2ba3a84331
commit
f648edacdb
@ -7,11 +7,11 @@ title:
|
|||||||
|
|
||||||
## zh-CN
|
## zh-CN
|
||||||
|
|
||||||
栅格常常需要和间隔进行配合,你可以使用 `Row` 的 `gutter` 属性,我们推荐使用 `(16+8n)px` 作为栅格间隔。
|
栅格常常需要和间隔进行配合,你可以使用 `Row` 的 `gutter` 属性,我们推荐使用 `(16+8n)px` 作为栅格间隔。(n 是自然数)
|
||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
You can use the `gutter` property of `Row` as grid spacing, we recommend set it to `(16 + 8n) px`.
|
You can use the `gutter` property of `Row` as grid spacing, we recommend set it to `(16 + 8n) px`. (`n` stands for natural number.)
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Row, Col } from 'antd';
|
import { Row, Col } from 'antd';
|
||||||
|
Loading…
Reference in New Issue
Block a user