mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
b9a6b7b578
* demo: update demo * add form * clear * add Select * add * fix style * fix style * fix * revert
34 lines
647 B
Markdown
34 lines
647 B
Markdown
## zh-CN
|
|
|
|
可以简单配置几种等分栅格和间距。
|
|
|
|
## en-US
|
|
|
|
A simple playground for column count and gutter.
|
|
|
|
```css
|
|
#components-grid-demo-playground [class~='ant-col'] {
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
#components-grid-demo-playground [class~='ant-col'] > div {
|
|
height: 120px;
|
|
font-size: 14px;
|
|
line-height: 120px;
|
|
background: #0092ff;
|
|
border-radius: 4px;
|
|
}
|
|
#components-grid-demo-playground pre {
|
|
padding: 8px 16px;
|
|
font-size: 13px;
|
|
background: #f9f9f9;
|
|
border-radius: 6px;
|
|
}
|
|
#components-grid-demo-playground pre.demo-code {
|
|
direction: ltr;
|
|
}
|
|
#components-grid-demo-playground .ant-col {
|
|
padding: 0;
|
|
}
|
|
```
|