FIX : Typewriter carat going away

This commit is contained in:
1bl4z3r 2023-07-21 22:13:24 +05:30
parent a807772afc
commit 644e54d24d

View file

@ -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 */