You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
## 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;
|
|
|
|
}
|
|
|
|
```
|