mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
a4648fd67f
* Add noHovering prop for Card * Add Card.Grid * fix snapshot * change default card grid percent
35 lines
708 B
Markdown
35 lines
708 B
Markdown
---
|
|
order: 4
|
|
title:
|
|
zh-CN: 栅格卡片
|
|
en-US: Card in column
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
在系统概览页面常常和栅格进行配合。
|
|
|
|
## en-US
|
|
|
|
Cards usually cooperate with grid column layout in overview page.
|
|
|
|
````jsx
|
|
import { Card, Col, Row } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<div style={{ background: '#ECECEC', padding: '30px' }}>
|
|
<Row gutter={16}>
|
|
<Col span={8}>
|
|
<Card title="Card title" bordered={false}>Card content</Card>
|
|
</Col>
|
|
<Col span={8}>
|
|
<Card title="Card title" bordered={false}>Card content</Card>
|
|
</Col>
|
|
<Col span={8}>
|
|
<Card title="Card title" bordered={false}>Card content</Card>
|
|
</Col>
|
|
</Row>
|
|
</div>
|
|
, mountNode);
|
|
````
|