„custom.css“ ändern
This commit is contained in:
parent
2f04a27b00
commit
1d7319a835
@ -79,12 +79,12 @@
|
|||||||
|
|
||||||
/* Shake */
|
/* Shake */
|
||||||
|
|
||||||
img:hover {
|
.shake:hover {
|
||||||
animation: shake 0.5s;
|
animation: shake 0.5s;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes shake {
|
.shake {
|
||||||
0% { transform: translate(1px, 1px) rotate(0deg); }
|
0% { transform: translate(1px, 1px) rotate(0deg); }
|
||||||
10% { transform: translate(-1px, -2px) rotate(-1deg); }
|
10% { transform: translate(-1px, -2px) rotate(-1deg); }
|
||||||
20% { transform: translate(-3px, 0px) rotate(1deg); }
|
20% { transform: translate(-3px, 0px) rotate(1deg); }
|
||||||
|
Loading…
Reference in New Issue
Block a user