-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
59 lines (50 loc) · 1.2 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<style>
button {
background-color: #fff;
border-color: #dbdbdb;
border-radius: 4px;
border-width: 1px;
color: #363636;
cursor: pointer;
justify-content: center;
padding-bottom: calc(.375em - 1px);
padding-left: .75em;
padding-right: .75em;
padding-top: calc(.375em - 1px);
text-align: center;
outline: none;
margin-bottom: .5rem;
}
body {
width: 180px;
}
.outer {
width: 100%;
text-align: center;
}
.inner {
display: inline-block;
}
.text {
width: 90px;
}
</style>
</head>
<body>
<div class="outer">
<div class="inner">
<button id="speedDownButton"><<</button>
</div>
<div class="inner text">
<p>Speed: <span id="currentSpeedText">1.0<span>x</p>
</div>
<div class="inner">
<button id="speedUpButton">>></button>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>