Adding media query for reduced motion to turn off animation in that case
This commit is contained in:
parent
15a62e764f
commit
966286b96e
1 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,13 @@
|
||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
animation: cursor 1s infinite;
|
animation: cursor 1s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
&__cursor {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cursor {
|
@keyframes cursor {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue