Typewriter-Effect

by velo_ninja

HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="author" content="" />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" />
<title></title>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
html {
  min-height: 100%;
  overflow: hidden;
}
body {
  color: #fff;
  font-family: "Arial", sans-serif;
  font-size: 100px!important;
  background-color: transparent;
  position: relative;
}
.line-1 {
  position: relative;
  top: 50%;
  margin: 0 auto;
  border-right: 1px solid rgba(255, 255, 255, 0.75);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
}
.anim-typewriter {
  animation: typewriter 2s steps(44) 1s 1 normal both, blinkTextCursor 500ms steps(44) 0 infinite normal;
  -webkit-animation: typewriter 2s steps(44) 1s 1 normal both, blinkTextCursor 500ms steps(44) 0 infinite normal;
  -moz-animation: typewriter 2s steps(44) 1s 1 normal both, blinkTextCursor 500ms steps(44) 0 infinite normal;
  -o-animation: typewriter 2s steps(44) 1s 1 normal both, blinkTextCursor 500ms steps(44) 0 infinite normal;
}
.menu-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(100, 210, 0, 0.7);
  padding: 1px;
  border-radius: 3px;
  height: auto;
  display: none;
  text-align: center;
}
.menu-container.active {display: block;}
.menu-container select {margin: 5px;}
.menu-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: rgba(100, 210, 0, 0.7);
  padding: 1px;
  border-radius: 10%;
  cursor: pointer;
}
</style>
</head>
<body>
<section class="cd-intro">
  <div id="app"></div>
  <div class="menu-button" id="menuButton">Menu</div>
  <div class="menu-container" id="menuContainer">
    <select id="fontSelector"></select>
    <select...