Adding media query for reduced motion to turn off animation in that case
This commit is contained in:
parent
c972e5035a
commit
3fd97a789b
|
@ -25,6 +25,13 @@
|
|||
border-radius: 1px;
|
||||
animation: cursor 1s infinite;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
&__cursor {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes cursor {
|
||||
|
|
Loading…
Reference in New Issue