-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
64 lines (59 loc) · 999 Bytes
/
index.css
File metadata and controls
64 lines (59 loc) · 999 Bytes
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
:root {
background: black;
}
* {
transition: all 200ms linear;
}
body {
margin: 0;
font-family: sans-serif;
background: var(--background);
}
canvas {
display: block;
outline: none;
}
input[type="text"],
textarea {
font-family: sans-serif;
padding: 8px;
outline: none;
border: 1px solid gray;
background: black;
color: white;
}
input[type="range"] {
display: block;
-webkit-appearance: none;
width: 100%;
background: white;
height: 2px;
position: relative;
outline: none;
margin: 8px 0;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
border: 2px solid white;
height: 20px;
width: 20px;
border-radius: 100%;
background: #333;
cursor: pointer;
}
input[type="color"] {
width: 100%;
-webkit-appearance: none;
height: 16px;
}
input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
input[type="color"]::-webkit-color-swatch {
border: none;
}
input,
textarea {
width: 100%;
line-height: 1.5em;
}