-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
65 lines (58 loc) · 1.28 KB
/
test.html
File metadata and controls
65 lines (58 loc) · 1.28 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<style>
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: system-ui;
font-size: 16px;
line-height: 1.5;
color: #fff;
padding: 0;
background-color: #030303;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.typewriter {
display: flex;
justify-content: center;
align-items: center;
}
.typewriter p {
font-family: monospace;
font-size: 2rem;
margin-inline: auto;
overflow: hidden;
white-space: nowrap;
border-right: 1px solid;
animation: typing 3s steps(22) forwards, blink 1s step-end infinite;
}
@keyframes typing {
from {
width: 0;
}
to {
width: 100%;
}
}
@keyframes blink {
50% {
border-color: transparent;
}
}
</style>
<div class="typewriter">
<div>
<p>Hello, World!...</p>
</div>
</div>
<footer
style="position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); padding: 8px 16px; font-family: Arial, sans-serif; font-size: 10px; z-index: 1000;">
Created by <a href="http://www.shivam-singh.com/" style="text-decoration: none; color: #0366d6;"> Shivam Singh </a> |
Source available on
<a href="https://github.com/sinzn/Testing/" target="_blank" style="text-decoration: none; color: #0366d6;">GitHub</a>.
</footer>