Skip to content

card

基础用法

简洁模式

无边框模式

阴影模式

悬浮阴影模式

加载模式

属性(Attributes)

属性描述类型默认
shadow阴影模式Stringalways/hover/nonenone
border是否显示边框Boolean--true
isLoading是否显示骨架屏Boolean--false
## 插槽(slot)
名称描述
default默认插槽
header头部插槽可选

变量(cssVariables)

变量名变量值描述
--color-bg-2--背景色
--border-radius-44px圆角
--border-color-22px边框
--padding-22px内容padding
--padding-22px内容padding
--box-shadow-5--悬浮阴影

Released under the MIT License.