Adding media query for reduced motion to turn off animation in that case

This commit is contained in:
Duncan Mackenzie 2019-04-20 13:19:52 -07:00
parent 15a62e764f
commit 966286b96e

View file

@ -25,6 +25,13 @@
border-radius: 1px;
animation: cursor 1s infinite;
}
@media (prefers-reduced-motion: reduce) {
&__cursor {
animation: none;
}
}
}
@keyframes cursor {