1639533.html (291B)
1 <!doctype html> 2 <style> 3 .tweak ::-moz-range-thumb:is(:hover) { 4 background: red; 5 } 6 </style> 7 <div> 8 <input type=range> 9 </div> 10 <script> 11 onload = function() { 12 document.querySelector("div").getBoundingClientRect(); 13 document.querySelector("div").classList.add("tweak"); 14 } 15 </script>