mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
38cf5e8a75
* docs: unify component export file as index.tsx * docs: compatible with old anchors * chore: clean * test: update snapshot * fix: window env --------- Co-authored-by: Peach <scdzwyxst@gmail.com>
34 lines
592 B
Markdown
34 lines
592 B
Markdown
## zh-CN
|
|
|
|
可以简单配置几种等分栅格和间距。
|
|
|
|
## en-US
|
|
|
|
A simple playground for column count and gutter.
|
|
|
|
```css
|
|
#grid-demo-playground [class~='ant-col'] {
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
#grid-demo-playground [class~='ant-col'] > div {
|
|
height: 120px;
|
|
font-size: 14px;
|
|
line-height: 120px;
|
|
background: #0092ff;
|
|
border-radius: 4px;
|
|
}
|
|
#grid-demo-playground pre {
|
|
padding: 8px 16px;
|
|
font-size: 14px;
|
|
background: #f9f9f9;
|
|
border-radius: 6px;
|
|
}
|
|
#grid-demo-playground pre.demo-code {
|
|
direction: ltr;
|
|
}
|
|
#grid-demo-playground .ant-col {
|
|
padding: 0;
|
|
}
|
|
```
|