15 lines
257 B
CSS
15 lines
257 B
CSS
|
|
.typed {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
width: 0;
|
|
animation: typing;
|
|
animation-duration: 1.5s;
|
|
animation-timing-function: steps(30, end);
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
@keyframes typing {
|
|
from { width: 0 }
|
|
to { width: 100% }
|
|
} |