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
1 changed files with 7 additions and 0 deletions

View File

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