From acc4ea7e4d2a0ce6b81fd468ad6ade8927f7dbfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Fri, 12 Jul 2019 17:49:37 +0200 Subject: [PATCH] Disable placeholder animation when prefers-reduced-motion is set (https://github.com/woocommerce/woocommerce-admin/pull/2645) --- .../client/stylesheets/abstracts/_mixins.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/woocommerce-admin/client/stylesheets/abstracts/_mixins.scss b/plugins/woocommerce-admin/client/stylesheets/abstracts/_mixins.scss index e33caae0882..6f045d5d29b 100644 --- a/plugins/woocommerce-admin/client/stylesheets/abstracts/_mixins.scss +++ b/plugins/woocommerce-admin/client/stylesheets/abstracts/_mixins.scss @@ -26,6 +26,10 @@ &::after { content: '\00a0'; } + + @media screen and (prefers-reduced-motion: reduce) { + animation: none; + } } // Adds animation to transforms