回答編集履歴
1
cssを追加しました
test
CHANGED
@@ -4,3 +4,27 @@
|
|
4
4
|
height: 10px;
|
5
5
|
```
|
6
6
|
のところの値を24くらいにしてみたらどうでしょう?
|
7
|
+
|
8
|
+
追記
|
9
|
+
こんな感じのcssでどうでしょうか?
|
10
|
+
```css
|
11
|
+
input[type="range"] {
|
12
|
+
-webkit-appearance: none;
|
13
|
+
appearance: none;
|
14
|
+
cursor: pointer;
|
15
|
+
outline: none;
|
16
|
+
background: #d1d1d1;;
|
17
|
+
height: 14px;
|
18
|
+
width: 100%;
|
19
|
+
border-radius: 10px;
|
20
|
+
}
|
21
|
+
input[type="range"]::-webkit-slider-thumb {
|
22
|
+
-webkit-appearance: none;
|
23
|
+
background: #008272;
|
24
|
+
width: 24px;
|
25
|
+
height: 24px;
|
26
|
+
border-radius: 50%;
|
27
|
+
box-shadow: 0px 3px 6px 0px #008272;
|
28
|
+
}
|
29
|
+
```
|
30
|
+
私の環境ではこうなります
|