Skip to content

Commit

Permalink
feat: add accessible animation
Browse files Browse the repository at this point in the history
  • Loading branch information
alberto-rj authored Jul 19, 2024
1 parent abc062c commit 17902c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,12 @@ button:focus-visible {
}
}
/* Animation Keyframes */

@media (prefers-reduced-motion) {
*::before,
*,
*::after {
animation: none;
transition: none;
}
}

0 comments on commit 17902c4

Please sign in to comment.