-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrange.css
More file actions
52 lines (46 loc) · 1.14 KB
/
range.css
File metadata and controls
52 lines (46 loc) · 1.14 KB
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
/* made by danielstern.ca/range.css and tweaked by me*/
.customRange {
-webkit-appearance: none;
width: 260px;
margin: 7px 0;
--customBG: #afdcff;
}
.customRange:focus {
outline: none;
}
.customRange::-webkit-slider-runnable-track {
width: 100%;
height: 12px;
cursor: pointer;
box-shadow: 1px 1px 1px black, 0 0 2px black;
border-radius: 5px;
background: var(--customBG);
}
.customRange::-webkit-slider-thumb {
box-shadow: 1px 1px 1px black, 0 0 1px black;
border: 1px solid black;
height: 28px;
width: 28px;
border-radius: 15px;
background: white;
cursor: pointer;
-webkit-appearance: none;
margin-top: -7.5px;
}
.customRange::-moz-range-track {
width: 260px;
height: 12px;
cursor: pointer;
box-shadow: 1px 1px 1px black, 0 0 2px black;
border-radius: 5px;
background: var(--customBG);
}
.customRange::-moz-range-thumb {
box-shadow: 1px 1px 1px black, 0 0 1px black;
border: 1px solid black;
height: 28px;
width: 28px;
border-radius: 15px;
background: white;
cursor: pointer;
}