|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
708 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * 1. Remove animations when motion is reduced (opinionated).
|
|---|
| 3 | * 2. Remove fixed background attachments when motion is reduced (opinionated).
|
|---|
| 4 | * 3. Remove timed scrolling behaviors when motion is reduced (opinionated).
|
|---|
| 5 | * 4. Remove transitions when motion is reduced (opinionated).
|
|---|
| 6 | */
|
|---|
| 7 |
|
|---|
| 8 | @media (prefers-reduced-motion: reduce) {
|
|---|
| 9 | *,
|
|---|
| 10 | ::before,
|
|---|
| 11 | ::after {
|
|---|
| 12 | animation-delay: -1ms !important; /* 1 */
|
|---|
| 13 | animation-duration: 1ms !important; /* 1 */
|
|---|
| 14 | animation-iteration-count: 1 !important; /* 1 */
|
|---|
| 15 | background-attachment: initial !important; /* 2 */
|
|---|
| 16 | scroll-behavior: auto !important; /* 3 */
|
|---|
| 17 | transition-delay: 0s !important; /* 4 */
|
|---|
| 18 | transition-duration: 0s !important; /* 4 */
|
|---|
| 19 | }
|
|---|
| 20 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.