-
Notifications
You must be signed in to change notification settings - Fork 24
/
index.html
45 lines (40 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>K8bit</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css" />
<style>
div[data-tooltip]:before {
content: "";
position: absolute;
top: 0;
border-top: 0.5em solid #357EDD;
border-left: 0.5em solid transparent;
border-right: 0.5em solid transparent;
display: none;
}
div[data-tooltip]:after {
content: attr(data-tooltip);
position: absolute;
color: white;
top: -1.5em;
left: -1em;
background: #357EDD;
padding: .25em .75em;
border-radius: .5em;
white-space: nowrap;
display: none;
}
div[data-tooltip]:hover:before,
div[data-tooltip]:hover:after {
display: inline;
}
</style>
</head>
<body class="h-min-100 bg-near-black sans-serif">
<div id="content" class="mw8 center flex"></div>
<script src='app.js'></script>
</body>
</html>