Ajout de @media (prefers-reduced-motion: reduce)

This commit is contained in:
Raphael Goetter 2019-01-30 21:54:32 +01:00
parent 32ad91f29a
commit 4782f69f44
7 changed files with 24 additions and 18 deletions

View file

@ -385,6 +385,16 @@ template {
/* ----------------------------- */
/* ==Base (basic styles) */
/* ----------------------------- */
/* disable animations styles when reduced rotion is enabled */
@media (prefers-reduced-motion: reduce) {
* {
-webkit-animation: none !important;
animation: none !important;
-webkit-transition: none !important;
transition: none !important;
}
}
/* switching to border-box model for all elements */
html {
-webkit-box-sizing: border-box;

File diff suppressed because one or more lines are too long