-
Notifications
You must be signed in to change notification settings - Fork 1
/
sliderStyleSheet.css
49 lines (45 loc) · 1.01 KB
/
sliderStyleSheet.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
/*
Developed beginning at the following two sites:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_rangeslider
https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/
*/
.rangeInput
{
-webkit-appearance: none;
width: 262px; /* (2*127) + thumb width */
height: 12px;
margin: 0 3px 1px 3px;
outline: none;
background: #aaa; /* was e8e8e8 */
border-style: solid;
border-width: 1px;
border-color: #444;
vertical-align: middle;
opacity: 0.4;
-webkit-transition: .1s;
transition: opacity .1s;
}
.rangeInput:hover
{
opacity: 1;
}
.rangeInput::-webkit-slider-thumb
{
-webkit-appearance: none;
width: 6px;
height: 10px;
background: #000;
cursor: pointer;
}
/* 26.03.20 This firefox style is not working.*/
.rangeInput::-moz-range-thumb
{
width: 6px;
height: 10px;
background: #777;
border-style: solid;
border-radius: 0;
border-width: 1px;
border-color: #444;
cursor: pointer;
}