Compare commits
No commits in common. "33-prefer-reduced-motion" and "main" have entirely different histories.
33-prefer-
...
main
1 changed files with 0 additions and 6 deletions
|
|
@ -25,12 +25,6 @@ main img.draggable {
|
||||||
animation-iteration-count: infinite;
|
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 {
|
@keyframes 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); }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue