Skip to content

Commit

Permalink
Turn off animations for print media query (#881)
Browse files Browse the repository at this point in the history
Resolves #856

* Add a feature to turn off animations for printing as requested.
* Add print media type
* Update the builds
  • Loading branch information
vyshakpadinjarote authored and daneden committed Jan 13, 2019
1 parent 01e83a7 commit c03507b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion animate.css
Expand Up @@ -3613,7 +3613,7 @@
animation-duration: 3s;
}

@media (prefers-reduced-motion) {

This comment was marked as off-topic.

Copy link
@abhisingh159

abhisingh159 Jan 17, 2019

mnnjn

@media (print), (prefers-reduced-motion) {
.animated {
-webkit-animation: unset !important;
animation: unset !important;
Expand Down
2 changes: 1 addition & 1 deletion animate.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/_base.css
Expand Up @@ -43,7 +43,7 @@
animation-duration: 3s;
}

@media (prefers-reduced-motion) {
@media (print), (prefers-reduced-motion) {
.animated {
animation: unset !important;
transition: none !important;
Expand Down

0 comments on commit c03507b

Please sign in to comment.