Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .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
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement