We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a984ef0 commit ef38bc6Copy full SHA for ef38bc6
2 files changed
src/styles/page.scss
@@ -146,10 +146,19 @@ p.larger-spacing {
146
// Animations
147
148
.rotate-appear {
149
- animation: 250ms ease-in-out forwards rotate-appear;
+ animation: 0ms ease-in-out forwards rotate-appear;
150
}
151
.rotate-vanish {
152
- animation: 250ms ease-in-out reverse forwards rotate-appear;
+ animation: 0ms ease-in-out reverse forwards rotate-appear;
153
+}
154
+
155
+@include m-motion {
156
+ .rotate-appear {
157
+ animation-duration: 250ms;
158
+ }
159
+ .rotate-vanish {
160
161
162
163
164
@keyframes rotate-appear {
src/styles/partials/_media.scss
@@ -4,6 +4,12 @@
4
5
6
7
+@mixin motion {
8
+ @media (prefers-reduced-motion: no-preference) {
9
+ @content;
10
11
12
13
@mixin small {
14
@media (min-width: 28em) {
15
@content;
0 commit comments