鼠标移动到卡片上时,添加上移动画效果

This commit is contained in:
haiyangcui
2020-11-04 15:27:35 +01:00
parent e8c5c0ec72
commit fe37b32a0f

View File

@@ -313,6 +313,12 @@
.card{
border-radius: 6px;
overflow: hidden;
position: relative;
cursor: pointer;
transition: 0.2s;
&:hover {
top: -3px;
}
.img{
position: relative;
min-height: 40px;
@@ -380,7 +386,6 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
}
.info{
display: flex;