Skip to content

Commit c03507b

Browse files
vyshakpadinjarotedaneden
authored andcommitted
Turn off animations for print media query (animate-css#881)
Resolves animate-css#856 * Add a feature to turn off animations for printing as requested. * Add print media type * Update the builds
1 parent 01e83a7 commit c03507b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

animate.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,7 @@
36133613
animation-duration: 3s;
36143614
}
36153615

3616-
@media (prefers-reduced-motion) {
3616+
@media (print), (prefers-reduced-motion) {
36173617
.animated {
36183618
-webkit-animation: unset !important;
36193619
animation: unset !important;

animate.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/_base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
animation-duration: 3s;
4444
}
4545

46-
@media (prefers-reduced-motion) {
46+
@media (print), (prefers-reduced-motion) {
4747
.animated {
4848
animation: unset !important;
4949
transition: none !important;

0 commit comments

Comments
 (0)