How to disable the @media (prefers-reduced-motion: reduce) css
#3846
justforuse
started this conversation in
General
Replies: 1 comment
-
|
Here what I had to do to have a working spinner even in reduce motion mode. @layer __vitepress_base {
.spinner:before {
animation: .... !important;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The critical code is here: fc5092f
I'm working on Mac, and prefer to turn on “Reduce motion.” because I dont like its screen animation. But it close all the vitepress website's animation also, due to these CSS code. like loading or other animation.
Is there anyway to not include these code in Vitepress? Or how to disable it in themeConfig
Beta Was this translation helpful? Give feedback.
All reactions