FIX : Typewriter carat going away
This commit is contained in:
parent
a807772afc
commit
644e54d24d
1 changed files with 3 additions and 7 deletions
|
@ -916,17 +916,13 @@ a.footnote-ref {
|
||||||
white-space: nowrap; /* Keeps the content on a single line */
|
white-space: nowrap; /* Keeps the content on a single line */
|
||||||
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
|
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
|
||||||
// letter-spacing: .100em; /* Adjust as needed */
|
// letter-spacing: .100em; /* Adjust as needed */
|
||||||
|
animation: typing 5s steps({{ strings.RuneCount .Site.Params.homeSubtitle }}, end),blink-caret .75s step-end infinite;
|
||||||
animation:
|
|
||||||
typing 5s steps({{ strings.RuneCount .Site.Params.homeSubtitle }}, end),
|
|
||||||
blink-caret .6s step-end infinite;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The typing effect */
|
/* The typing effect */
|
||||||
@keyframes typing {
|
@keyframes typing {
|
||||||
from { width: 0 }
|
from {max-width: 0;}
|
||||||
to { width: 100% }
|
to {max-width: 100%;}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The typewriter cursor effect */
|
/* The typewriter cursor effect */
|
||||||
|
|
Loading…
Reference in a new issue