Disable placeholder animation when prefers-reduced-motion is set (https://github.com/woocommerce/woocommerce-admin/pull/2645)

This commit is contained in:
Albert Juhé Lluveras 2019-07-12 17:49:37 +02:00 committed by GitHub
parent 34e91de4ce
commit acc4ea7e4d
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@
&::after {
content: '\00a0';
}
@media screen and (prefers-reduced-motion: reduce) {
animation: none;
}
}
// Adds animation to transforms