-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (39 loc) · 1.06 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Get warned if you're too loud</title>
<link rel="icon" type="image/png"
href="icon.ico">
<link rel="stylesheet"
href="./node_modules/bootstrap/dist/css/bootstrap.min.css"/>
</head>
<style>
#rangeSlider::-webkit-slider-runnable-track {
background: transparent !important;
}
#rangeSlider::-webkit-slider-thumb,
#rangeSlider::-webkit-slider-thumb:active {
height: 3rem;
margin-top: -1.5rem;
outline: none !important;
background: white;
box-shadow: 0 0 1rem #0001;
}
#volumePreview {
height: 1rem;
}
#rangeSlider::-moz-range-track {
background: transparent;
}
</style>
<body class="bg-dark text-light">
<div class="container-fluid py-2">
<label for="rangeSlider" class="form-label">Choose your threshold</label>
<div id="volumePreview" class="rounded">
<input type="range" id="rangeSlider" class="form-range">
</div>
<script src="./view.js" type="module"></script>
</div>
</body>
</html>