Compare commits
1 commit
main
...
33-prefer-
| Author | SHA1 | Date | |
|---|---|---|---|
| d6158c9aa0 |
1 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,12 @@ main img.draggable {
|
|||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
.draggable:hover {
|
||||
/* In case the user doesn't want thing to wiggle, we disable the animation */
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes shake {
|
||||
0% { transform: translate(1px, 1px) rotate(0deg); }
|
||||
10% { transform: translate(-1px, -2px) rotate(-1deg); }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue