-
Notifications
You must be signed in to change notification settings - Fork 0
/
construction.html
98 lines (85 loc) · 1.68 KB
/
construction.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
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!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">
<title>Under Construction</title>
</head>
<style>
img{
height: 50vh;
margin: 0 auto;
}
:root {
--bg-color: black;
--typewriterSpeed: 6s;
--typewriterCharacters: 24;
}
body {
color: white;
margin: 0;
font-family: "Source Sans Pro", sans-serif;
min-height: 100vh;
display: grid;
place-content: center;
text-align: center;
background: var(--bg-color);
}
h1 {
font-size: 4vw;
position: relative;
font-family: "Source Code Pro", monospace;
position: relative;
width: max-content;
margin: 0 auto;
}
h1::before,
h1::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
h1::before {
background: var(--bg-color);
animation: typewriter var(--typewriterSpeed)
steps(var(--typewriterCharacters)) 1s forwards;
}
h1::after {
width: 0.125em;
background: white;
animation: typewriter var(--typewriterSpeed)
steps(var(--typewriterCharacters)) 1s forwards,
blink 750ms steps(var(--typewriterCharacters)) infinite;
}
@keyframes typewriter {
to {
left: 100%;
}
}
@keyframes blink {
to {
background: transparent;
}
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
p{
font-family:monospace;
}
</style>
<body>
<h1> <span id="type-animation">This page is under construction</span></h1>
<img src="./images/under-construction.png" alt="">
<footer>
<p>© 2022 chennaindt - all rights reserved.</p>
</footer>
</body>
</html>