mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-11-05 02:42:38 +01:00
respect prefers-reduced-motion while animating
This commit is contained in:
@@ -55,3 +55,9 @@
|
||||
.button:active {
|
||||
transform: scale(.96)
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
.button:active {
|
||||
transform: none
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user