-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (76 loc) · 1.87 KB
/
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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content=" ,initial-scale=1">
<title>Cha0tic's Portfolio</title>
</head>
<style>
@font-face {
font-family: "Carbon";
src: url("../myPortfolio/assets/carbontype.ttf") format("truetype");
}
@keyframes typing {
0% { width: 0 }
100% { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: white }
50% { border-color: transparent }
}
body {
background: #333;
display: grid;
place-items: center;
}
.typewriter {
color: white;
font-family: "Carbon", serif;
font-size: 5vw;
transform: translateY(35vh);
overflow: hidden;
border-right: .15em solid white;
padding-right: 0;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .25em;
animation:
typing 1s steps(7, end),
blink-caret .5s step-end infinite;
}
.typewriter2 {
color: white;
font-family: "Calibri", serif;
font-size: 1vw;
transform: translateY(36vh);
overflow: hidden;
border-right: .15em solid transparent;
padding-right: 0;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .25em;
animation:
typing 2s steps(25, end) 1.1s normal backwards,
blink-caret .5s step-end 1s infinite;
}
.line {
display: flex;
width: 96vw;
transform: translateY(0vh);
}
</style>
<body>
<div>
<hr class="line">
</div>
<div>
<p class="typewriter">Cha0tic</p>
</div>
<div>
<p class="typewriter2">your javascript developer</p>
</div>
</body>
<script>
// YES ON A PORTFOLIO OF A JAVASCRIPT DEV THERES NO JAVASCRIPT
</script>
</html>