ant-design/components/grid/demo/playground.md
vagusX 38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* 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>
2024-07-23 22:22:24 +08:00

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;
}
```