小修改

This commit is contained in:
A1300399510
2023-08-09 18:17:28 +08:00
parent a7a269d9de
commit c236121b78

View File

@@ -538,28 +538,19 @@ img {
height: 100%; height: 100%;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
.icon { .icon {
// transform: rotate(45deg);
animation: spin 1s forwards;
}
}
@keyframes spin {
0% {
transform: rotate(360deg); transform: rotate(360deg);
} }
100% {
transform: rotate(0deg);
}
} }
.icon { .icon {
width: 16px; width: 16px;
height: 16px; height: 16px;
margin-right: 3px; margin-right: 3px;
transition: all 1s;
} }
} }
} }