mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
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;
|
border-radius: 1px;
|
||||||
animation: cursor 1s infinite;
|
animation: cursor 1s infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
&__cursor {
|
||||||
|
animation: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes cursor {
|
@keyframes cursor {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user