OpenGPT / client /css /typing.css
AchyuthGamer's picture
Update client/css/typing.css
8d27b66
raw
history blame
449 Bytes
.wrapper {
height: 100vh;
/*This part is important for centering*/
display: grid;
place-items: center;
}
.typing-demo {
width: 22ch;
animation: typing 2s steps(22), blink .5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: monospace;
font-size: 2em;
}
@keyframes typing {
from {
width: 0
}
}
@keyframes blink {
50% {
border-color: transparent
}
}