小修改
This commit is contained in:
parent
a7a269d9de
commit
c236121b78
@ -538,28 +538,19 @@ img {
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
|
||||
|
||||
&:hover {
|
||||
.icon {
|
||||
// transform: rotate(45deg);
|
||||
animation: spin 1s forwards;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 3px;
|
||||
transition: all 1s;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user