Hello,
I am trying to accomplish this text effect on scroll https://crypton.trading/
Anyone know how to create this effect?
Thanks
Hello,
I am trying to accomplish this text effect on scroll https://crypton.trading/
Anyone know how to create this effect?
Thanks
Typewriter effect cane be done with js or css.
Heres an easy way
1: Embed this in custom code/embed block, closer to header
<style>
.typewriter h1 {
overflow: hidden; /* Ensures the content is not revealed until the animation */
border-right: .15em solid orange; /* The typwriter cursor */
white-space: nowrap; /* Keeps the content on a single line */
margin: 0 auto; /* Gives that scrolling effect as the typing happens */
letter-spacing: .15em; /* Adjust as needed */
animation:
typing 3.5s steps(40, end),
blink-caret .75s step-end infinite;
}
/* The typing effect */
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
/* The typewriter cursor effect */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: orange; }
}
</style>
Then name any text element class = typewriter
To Animate your typing, insert the CSS code as ‘<‘style’>’ … ‘<‘style’>’
Thanks! I was wondering if this code also includes the ability to let the animation run before letting the user scroll to the next section