Card in element.eleme.io
Card
Integrate information in a card container.Card includes title, content and operations. Basic usage
Card name
List item 1
List item 2
List item 3
List item 4
The header part can be omitted. Simple card
List item 1
List item 2
List item 3
List item 4
Display richer content by adding some configs. With images
Yummy hamburger
Yummy hamburger
You can define when to show the card shadows Shadow
Always
Hover
Never
Attributes
Attribute | Description | Type | Accepted Values | Default |
---|---|---|---|---|
header | title of the card. Also accepts a DOM passed by slot#header | string | — | — |
body-style | CSS style of body | object | — | { padding: '20px' } |
shadow | when to show card shadows | string | always / hover / never | always |
评论
发表评论