Card in element.eleme.io
Card
Integrate information in a card container.Basic usage
Card includes title, content and operations.
Card name
List item 1
List item 2
List item 3
List item 4
Simple card
The header part can be omitted.
List item 1
List item 2
List item 3
List item 4
With images
Display richer content by adding some configs.
Yummy hamburger
Yummy hamburger
Shadow
You can define when to show the card shadows
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 |
评论
发表评论