mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
e361b30ded
* 🎬 update Card demo * refactor card code * 🎬 update Tabs demo * update snapshot
654 B
654 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
在灰色背景上使用无边框的卡片。
en-US
A borderless card on a gray background.
import { Card } from 'antd';
ReactDOM.render(
<div className="site-card-border-less-wrapper">
<Card title="Card title" bordered={false} style={{ width: 300 }}>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>
</Card>
</div>,
mountNode,
);
.site-card-border-less-wrapper {
padding: 30px;
background: #ececec;
}