-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
74 lines (68 loc) · 1.08 KB
/
styles.css
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
#controls {
position: fixed;
top: 10px;
right: 10px;
z-index: 1;
padding: 10px;
opacity: 0.1;
background: #fff1;
border-radius: 3px;
color: #fff5;
font-size: 12px;
font-family: sans-serif;
transition: 0.1s;
}
#controls:hover {
opacity: 1;
}
.control {
display: flex;
align-items: center;
padding: 5px;
}
label {
flex: 1;
}
[type='range'] {
-webkit-appearance: none;
appearance: none;
flex: 1;
height: 3px;
margin-left: 10px;
background: #fff1;
border-radius: 3px;
outline: none;
}
[type='range']:focus {
background: #fff5;
}
[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 12px;
height: 12px;
background: #00fa9a;
border-radius: 50%;
cursor: pointer;
}
#reset {
padding: 0.5em 0.75em;
cursor: pointer;
background: transparent;
border: 1px solid #00fa9a;
outline: none;
border-radius: 3px;
color: #00fa9a;
font-family: sans-serif;
}
#reset:hover,
#reset:focus {
background: #00fa9a;
color: #000;
}
canvas {
position: fixed;
top: 0;
left: 0;
background: #000;
}