-
Notifications
You must be signed in to change notification settings - Fork 0
/
processBar.html
58 lines (57 loc) · 919 Bytes
/
processBar.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>进度条</title>
<style>
*
{
margin: 0;
padding: 0;
}
.container
{
width: 80%;
margin:0 auto;
padding: 40px;
}
#process_bg
{
height:18px;
width: 100%;
background-color: darkgray;
border-radius:6px;
position: relative;
}
#process_done{
height: 100%;
width: 20px;
background-color: darkred;
border-radius:6px;
position:absolute;
left:0;
}
#process_point{
width: 12px;
height: 140%;
border-radius:6px;
background-color: darkred;
position:absolute;
right:-6px;
top: -16%;
}
</style>
</head>
<body>
<div class='container'>
<div id="process_bg">
<div id="process_done">
<div id="process_point"></div>
</div>
</div>
<div id="process_value">0%</div>
</div>
<script>
</script>
</body>
</html>