Ajout de @media (prefers-reduced-motion: reduce)
This commit is contained in:
parent
32ad91f29a
commit
4782f69f44
7 changed files with 24 additions and 18 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue