2016-12-25 21:09:49 +08:00
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
可以简单配置几种等分栅格和间距。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
A simple playground for column count and gutter.
|
|
|
|
|
2019-05-07 14:57:32 +08:00
|
|
|
```css
|
|
|
|
#components-grid-demo-playground [class~='ant-col'] {
|
2016-12-25 21:09:49 +08:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
}
|
2019-05-07 14:57:32 +08:00
|
|
|
#components-grid-demo-playground [class~='ant-col'] > div {
|
2016-12-25 21:09:49 +08:00
|
|
|
height: 120px;
|
2020-02-26 21:00:43 +08:00
|
|
|
font-size: 14px;
|
2016-12-25 21:09:49 +08:00
|
|
|
line-height: 120px;
|
2020-02-26 21:00:43 +08:00
|
|
|
background: #0092ff;
|
|
|
|
border-radius: 4px;
|
2016-12-25 21:09:49 +08:00
|
|
|
}
|
2016-12-25 21:31:33 +08:00
|
|
|
#components-grid-demo-playground pre {
|
2020-02-26 21:00:43 +08:00
|
|
|
padding: 8px 16px;
|
|
|
|
font-size: 13px;
|
2016-12-25 21:31:33 +08:00
|
|
|
background: #f9f9f9;
|
|
|
|
border-radius: 6px;
|
|
|
|
}
|
2020-04-27 21:40:52 +08:00
|
|
|
#components-grid-demo-playground pre.demo-code {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
2021-01-27 14:03:05 +08:00
|
|
|
#components-grid-demo-playground .ant-col {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|