-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (38 loc) · 1000 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome Animation</title>
<style>
body {
background: black;
color: #00ff00;
font-family: monospace;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.typing {
font-size: 24px;
overflow: hidden;
white-space: nowrap;
border-right: 2px solid #00ff00;
width: 20ch;
animation: typing 3s steps(20, end), blink 0.5s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 20ch }
}
@keyframes blink {
50% { border-color: transparent }
}
</style>
</head>
<body>
<div class="typing">Welcome, User...</div>
</body>
</html>