-
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathdouble-rainbow.html
72 lines (72 loc) · 1.44 KB
/
double-rainbow.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
<!doctype html>
<html>
<head>
<title>hyperHTML Double Rainbow</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html,
body {
padding: 0;
margin: 0;
font-family: sans-serif;
width: 100%;
height: 100%;
}
.demo {
overflow-x: hidden;
position: relative;
}
.point {
width: 5px;
height: 5px;
background: black;
position: absolute;
}
.controls {
position: fixed;
top: 0;
width: 100%;
padding: 15px;
background: #333;
border-bottom: 1px solid #666;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
color: white;
white-space: nowrap;
}
.controls > input {
margin: 0 10px;
width: 50%;
}
.controls label {
margin-left: 30px;
}
#stats {
position: fixed;
top: 0;
right: 0;
}
.about {
position: fixed;
bottom: 0;
width: 100%;
padding: 10px;
}
#app,
.app-wrapper,
.demo {
width: 100%;
height: 100%;
overflow: hidden;
}
</style>
</head>
<body></body>
<script defer src="https://unpkg.com/[email protected]/build/d3.min.js"></script>
<script defer src="../min.js"></script>
<script defer src="js/double-rainbow.js"></script>
</html>