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 c972e5035a
commit 3fd97a789b

View File

@ -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 {