-
Notifications
You must be signed in to change notification settings - Fork 1
/
audio.html
61 lines (61 loc) · 1.77 KB
/
audio.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html>
<head>
<meta charset='utf-8' />
<style>
.control-box {
padding: 5px 0;
}
.progress-box {
padding: 20px 10px;
position: relative;
border: 1px solid red;
}
.progress-thumb {
height: 1px;
background: #ccc;
}
.progress {
height: 100%;
background: pink;
}
.icon {
position: absolute;
top: 10px;
left: 10px;
width: 20px;
height: 20px;
background: yellow;
border-radius: 20px;
}
#add {
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
border: 1px solid lawngreen
}
</style>
</head>
<body>
<div class='control-box'>
<div class='progress-box'>
<div class='progress-thumb'>
<div class='progress'></div>
</div>
<i class='icon'></i>
</div>
<div class='control'>
<button id='pause' type='button'>pause</button>
<button id='prev' type='button'>prev</button>
<button id='play' type='button'>play</button>
<button id='next' type='button'>next</button>
</div>
</div>
<div class='file-box'>
<div id='add'>+</div>
<input id='file' type='file' multiple webkitdirectory directory />
</div>
<script src='./src/js/audio.js'></script>
</body>
</html>