質問するログイン新規登録

質問編集履歴

1

訂正

2021/08/30 16:28

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -36,7 +36,7 @@
36
36
  range.style.height="50px";
37
37
  document.body.appendChild(range);
38
38
  Array.from(document.querySelectorAll("input[type=range]"), r => {
39
- var property = window.getComputedStyle(r, '::webkit-slider-runnable-track').getPropertyValue('background-image');
39
+ var property = window.getComputedStyle(r, '::-webkit-slider-thumb').getPropertyValue('background-image');
40
40
  alert(property);
41
41
  });
42
42
  }