TypeIt
https://www.typeitjs.com/docs/vanilla
new TypeIt("#hero", {
speed: 50,
startDelay: 900
})
.type("the mot versti", {delay: 100})
.move(-8, {speed: 25, delay: 100})
.type('s')
.move('START')
.move(1, {delay: 200})
.delete(1)
.type('T')
.move(12, {delay: 200})
.type('a', {delay: 250})
.move('END')
.type('le animated typing utlity')
.move(-4)
.type('i')
.move('END')
.type(' on the internet', {delay: 400})
.delete(8, {delay: 600})
.type('<em><strong>planet.</strong></em>');
.go();
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://unpkg.com/typeit@8.7.0/dist/index.umd.js"></script>
<title>TypeIt</title>
<style>
:root {
--ti-cursor-margin-left: 0.1em;
--ti-cursor-color: blue;
}
</style>
</head>
<body>
<h1 id="title">TypeIt을 적용해보자!</h1>
<script>
document.addEventListener("DOMContentLoaded", () => {
new TypeIt("#title")
.pause(1000)
.delete(7, { delay: 1000 })
.type(" 실습해보자!")
.go();
});
</script>
</body>
</html>
https://scroll-out.github.io/guide.html