-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
137 lines (124 loc) · 3.1 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="/manifest.json">
<title>BinBat</title>
<meta name="description" content="a very small team index page">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="plum" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
<meta property="og:url" content="https://binbat.com">
<meta property="og:type" content="website">
<meta property="og:title" content="BinBat">
<meta property="og:image" content="https://binbat.com/binbat.svg">
<meta property="og:description" content="a very small team index page">
</head>
<body>
<div class="content">
<p class="typewriter">Hey! This is BinBat!<span class="cursor"></span></p>
</div>
<div class="bg">
<div class="polygon-1"></div>
<div class="polygon-2"></div>
<div class="polygon-3"></div>
</div>
<style>
html,
body {
position: relative;
margin: 0;
width: 100%;
height: 100%;
}
.bg {
overflow: hidden;
position: relative;
width: 100vw;
height: 100vh;
}
.bg > div {
position: absolute;
opacity: 0.5;
}
.bg::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
-webkit-backdrop-filter: blur(150px);
backdrop-filter: blur(150px);
z-index: 1;
}
.polygon-1 {
bottom: 100px;
left: 50%;
transform: translate(-50%, 0);
width: 714px;
height: 390px;
background: linear-gradient(#ffee55, #fdee99);
-webkit-clip-path: polygon(0 10%, 30% 0, 100% 40%, 70% 100%, 20% 90%);
clip-path: polygon(0 10%, 30% 0, 100% 40%, 70% 100%, 20% 90%);
}
.polygon-2 {
bottom: 0px;
left: 30%;
transform: translate(-50%, 0);
width: 1000px;
height: 450px;
background: linear-gradient(-36deg, #e950d1, #f980d9);
-webkit-clip-path: polygon(10% 0, 100% 70%, 100% 100%, 20% 90%);
clip-path: polygon(10% 0, 100% 70%, 100% 100%, 20% 90%);
}
.polygon-3 {
bottom: 0px;
left: 70%;
transform: translate(-50%, 0);
width: 1000px;
height: 450px;
background: #5750e9;
-webkit-clip-path: polygon(80% 0, 100% 70%, 100% 100%, 20% 90%);
clip-path: polygon(80% 0, 100% 70%, 100% 100%, 20% 90%);
}
.content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
font-size: 32px;
color: black;
}
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
.typewriter {
overflow: hidden;
border-right: .10em solid orange;
white-space: nowrap;
margin: 0 auto;
letter-spacing: .10em;
animation:
typing 3.5s steps(40, end),
blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: orange; }
}
.cursor {
display: inline-block;
vertical-align: bottom;
animation: blink-caret .75s step-end infinite;
}
</style>
</body>
</html>