mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
15 lines
241 B
HTML
15 lines
241 B
HTML
|
<!doctype html>
|
||
|
<style>
|
||
|
.foo input[type="range"]::-moz-range-thumb:hover {
|
||
|
color: red;
|
||
|
}
|
||
|
</style>
|
||
|
<div>
|
||
|
<input type="range"></input>
|
||
|
</div>
|
||
|
<script>
|
||
|
onload = function() {
|
||
|
document.querySelector('div').classList.add('foo');
|
||
|
}
|
||
|
</script>
|