Skip to content
On this page

Card 卡片

常规用法

包含头部和主题部分

卡片头部

卡片
html
<ivy-card style="width: 300px;">
    <p slot="header" style="margin: 0;">卡片头部</p>
    <div>卡片</div>
</ivy-card>

阴影

通过设置shadow来显示阴影

卡片头部

卡片
html
<ivy-card style="width: 300px;" shadow>
    <p slot="header" style="margin: 0;">卡片头部</p>
    <div>卡片</div>
</ivy-card>

MIT Licensed