style: 增加 Card 阴影效果
This commit is contained in:
parent
a5866b13b1
commit
0a6317ec5c
|
@ -108,3 +108,11 @@
|
|||
padding: 1rem;
|
||||
margin: -1rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
transition: box-shadow .3s linear;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
box-shadow: 0 0 8px 0 rgb(0 0 0 / 8%), 0 2px 4px 0 rgb(255 255 255 / 0%);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue