Line 28: | Line 28: | ||
border-right: .1em solid; | border-right: .1em solid; | ||
width: 16.5em; /* fallback */ | width: 16.5em; /* fallback */ | ||
− | width: | + | width: 30ch; /* # of chars */ |
margin: 2em 1em; | margin: 2em 1em; | ||
white-space: nowrap; | white-space: nowrap; | ||
overflow: hidden; | overflow: hidden; | ||
− | animation: typing | + | animation: typing 10s steps(20, end), /* # of steps = # of chars */ |
blink-caret .5s step-end infinite alternate; | blink-caret .5s step-end infinite alternate; | ||
} | } |
Revision as of 12:50, 6 October 2016