I am looking to make a type effect that changes the words and types different words periodically. An example is http://mattfarley.ca/. This is exactly what I would like to create. As you can see the type effect changes the words and types new words. How would I do this. This is what I have thus far. Yet I don't know how to make the words change once it is finished.
.intro-text 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(30, end),
blink-caret .5s step-end 5;
}
/* 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; }
}