mirror of https://github.com/tildeclub/site.git
Merge pull request #24 from login000/patch-2
Adds "prefers-reduced-motion" media query
This commit is contained in:
commit
779ad50b58
|
@ -67,6 +67,7 @@ hr {
|
||||||
from { content: "_"; }
|
from { content: "_"; }
|
||||||
to { content: ""; }
|
to { content: ""; }
|
||||||
}
|
}
|
||||||
|
@media not (prefers-reduced-motion: reduce) {
|
||||||
h1::after {
|
h1::after {
|
||||||
content: "_";
|
content: "_";
|
||||||
animation-name: cursor;
|
animation-name: cursor;
|
||||||
|
@ -74,6 +75,7 @@ h1::after {
|
||||||
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
|
animation-timing-function: cubic-bezier(1.0,0,0,1.0);
|
||||||
animation-duration: 1s;
|
animation-duration: 1s;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
h1 {
|
h1 {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: #fb5;
|
color: #fb5;
|
||||||
|
|
Loading…
Reference in New Issue