Merge pull request #24 from login000/patch-2

Adds "prefers-reduced-motion" media query
This commit is contained in:
deepend-tildeclub
2020-05-06 22:55:49 -06:00
committed by GitHub

View File

@@ -67,12 +67,14 @@ hr {
from { content: "_"; } from { content: "_"; }
to { content: ""; } to { content: ""; }
} }
h1::after { @media not (prefers-reduced-motion: reduce) {
content: "_"; h1::after {
animation-name: cursor; content: "_";
animation-iteration-count: infinite; animation-name: cursor;
animation-timing-function: cubic-bezier(1.0,0,0,1.0); animation-iteration-count: infinite;
animation-duration: 1s; animation-timing-function: cubic-bezier(1.0,0,0,1.0);
animation-duration: 1s;
}
} }
h1 { h1 {
text-transform: uppercase; text-transform: uppercase;