diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-01 22:20:15 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-01 22:51:43 +0100 |
| commit | 8952a0ce097405d3c66eff2b6c70a5bd139435e5 (patch) | |
| tree | 5cdd97eb76b983839d3aeee62ff96a0f24272123 /src | |
| parent | f8c7ec2c0e6cea04ebf2bd69313de82403620960 (diff) | |
fix: disable animations and transitions on pseudo elements
Diffstat (limited to 'src')
| -rw-r--r-- | src/styles/base/_helpers.scss | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/styles/base/_helpers.scss b/src/styles/base/_helpers.scss index 65f06d8..d28811c 100644 --- a/src/styles/base/_helpers.scss +++ b/src/styles/base/_helpers.scss @@ -43,14 +43,18 @@ } @include mix.motion("reduce") { - * { + *, + *::after, + *::before { animation: none !important; transition: none !important; } } [data-reduced-motion="true"] { - * { + *, + *::after, + *::before { animation: none !important; transition: none !important; } |
