cheat/dev
← Todos os snippets

Texto digitando (typewriter)

Efeito de máquina de escrever com cursor piscando, só CSS.

Preview ao vivo

Código completo

<style>*{box-sizing:border-box}body{font-family:system-ui,sans-serif;margin:0;padding:24px;background:#0e1013;color:#e8eaec;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.t{width:22ch;margin:30px auto;font:700 22px ui-monospace,monospace;white-space:nowrap;overflow:hidden;border-right:3px solid #2f6fed;animation:d 3s steps(22) 1s both,c .7s step-end infinite}@keyframes d{from{width:0}}@keyframes c{50%{border-color:transparent}}
</style>
<div class="t">Olá, eu sou dev web.</div>