Prevent smooth scrolling for people who prefer reduced motion
This commit is contained in:
parent
6aed477cc9
commit
24f527e414
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ select {
|
||||||
|
|
||||||
/* Remove all animations and transitions for people that prefer not to see them */
|
/* Remove all animations and transitions for people that prefer not to see them */
|
||||||
@media (prefers-reduced-motion: reduce) {
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
html:focus-within {
|
||||||
|
scroll-behavior: auto;
|
||||||
|
}
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
|
|
Loading…
Reference in a new issue