-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
136 lines (133 loc) · 2.49 KB
/
style.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
input[type='range'] {
box-sizing: border-box;
border: 0px solid transparent;
padding: 0px;
margin: 0px;
width: 210px;
height: 50px;
cursor: pointer;
background: -webkit-repeating-linear-gradient(
90deg,
#777,
#777 1px,
transparent 1px,
transparent 40px
)
no-repeat 50% 50%;
background: -moz-repeating-linear-gradient(
90deg,
#777,
#777 1px,
transparent 1px,
transparent 40px
)
no-repeat 50% 50%;
background: repeating-linear-gradient(
90deg,
#777,
#777 1px,
transparent 1px,
transparent 40px
)
no-repeat 50% 50%;
background-size: 122px 25px;
font-size: 16px;
}
input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
}
input[type='range']::-webkit-slider-runnable-track {
box-sizing: border-box;
width: 200px;
height: 5px;
border-radius: 2px;
background: #777;
}
input[type='range']::-moz-range-track {
box-sizing: border-box;
width: 200px;
height: 5px;
border-radius: 2px;
padding: 0px;
background: #777;
}
input[type='range']::-moz-range-thumb {
box-sizing: border-box;
padding: 0px;
height: 20px;
width: 10px;
border-radius: 2px;
border: 1px solid;
background: #eee;
}
input[type='range']::-ms-track {
box-sizing: border-box;
width: 210px;
height: 5px;
border-radius: 2px;
padding: 0px;
background: #777;
color: #777;
}
input[type='range']::-webkit-slider-thumb {
box-sizing: border-box;
padding: 0px;
height: 20px;
width: 10px;
border-radius: 2px;
border: 1px solid;
margin-top: -8px;
background: #eee;
}
input[type='range']::-ms-thumb {
box-sizing: border-box;
padding: 0px;
height: 20px;
width: 10px;
border-radius: 2px;
border: 1px solid;
background: #eee;
}
input[type='range']::-ms-fill-lower {
background: transparent;
}
input[type='range']:focus {
outline: none;
}
/*input[type='range']:after{
position: absolute;
content: '20 40 60 80';
padding: 25px 4035px;
word-spacing: 20px;
left: 0px;
top: 0px;
}*/
.container:after {
position: absolute;
color: #777;
content: '20 40 60 80';
padding: 40px;
word-spacing: 20px;
left: 0px;
top: 0px;
z-index: -1;
}
.container {
padding: 0px;
position: relative;
}
/* Just for demo */
output {
display: block;
margin-top: 20px;
color: #777;
}
output:before {
content: 'Selected Value: ';
font-weight: bold;
}
body {
font-family: Calibri, Arial;
}