No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
@keyframes shake { | @keyframes shake { | ||
0% { transform: translate(0, 0); } | 0% { transform: translate(0, 0); } | ||
20% { transform: translate(2px, | 10% { transform: translate(2px, -2px); } | ||
40% { transform: translate(-2px, 2px); } | 20% { transform: translate(-2px, 2px); } | ||
60% { transform: translate(2px, 2px); } | 30% { transform: translate(2px, 2px); } | ||
80% { transform: translate(-2px, -2px); } | 40% { transform: translate(-2px, -2px); } | ||
50% { transform: translate(0, 0); } | |||
60% { transform: translate(2px, -2px); } | |||
70% { transform: translate(-2px, 2px); } | |||
80% { transform: translate(2px, 2px); } | |||
90% { transform: translate(-2px, -2px); } | |||
100% { transform: translate(0, 0); } | 100% { transform: translate(0, 0); } | ||
} | } | ||
.shake { | .shake:hover { | ||
width: 100px; | width: 100px; | ||
height: 100px; | height: 100px; |
Revision as of 10:39, 16 January 2024
Whatever