最近学习课程hover动画优化

This commit is contained in:
禺狨 2023-03-28 10:25:38 +08:00
parent e9cb2b3d5b
commit a46431a082

View File

@ -16,10 +16,13 @@
align-items: center;
box-sizing: border-box;
padding: 24px;
transition: all 0.3s;
cursor: pointer;
&:hover {
border: none;
box-shadow: 0px 4px 16px 8px rgba(0, 0, 0, 0.04);
transition: all 0.3s;
transform: translateY(-5px);
}
.item-info {
flex: 1;