Skip to content

feat(Card): 为什么不能单独自定义页头、主体及页脚的背景颜色? #8078

Description

@bicijinlian

我想单独定义卡片(Card)组件的页头、主体及页脚的背景颜色,但是没办法做到!如果在模板做背景,又不能整个充满(有自带的间隙)。看源码有相关的类,但不公开。Bootstrap5里面的Card,很容易做到。

Image

可能的方案

1、方便的单独设置页头、主体、页脚的背景(可以把私有类公开为属性)
2、可以在各自的模板中设置背景,但要保持上级标签不留间隙(Margin Padding

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions