:::
### Shadow
You can define when to show the card shadows
:::demo The `shadow` attribute determines when the card shadows are displayed. It can be `always`, `hover` or `never`.
html
<el-card shadow="always">
Always
</el-card>
<el-card shadow="hover">
Hover
</el-card>
<el-card shadow="never">
Never
</el-card>
```
:::
Atributo | Descripción | Tipo | Valores aceptados | Por defecto |
---|---|---|---|---|
header | Titulo del card. También acepta DOM pasado por slot#header |
string | — | — |
body-style | Estilo CSS del cuerpo | object | — | { padding: '20px' } |
shadow | cuando mostrar la sombra del Card | string | always / hover / never | always |