-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
61 lines (53 loc) · 2.44 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
60
61
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>简书调宽</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
}
#mainDiv {
width: 200px;
height: 50px;
text-align: center;
}
#mainForm {
margin-top: 30px;
margin-bottom: 30px;
}
#btnConfirm {
border: 1px solid #3e8f3e;
border-radius: 3px;
background-color: #009E12;
color: #fff;
height: 25px;
padding: 0 12px;
*padding: 0 5px;
width: auto;
background-repeat: repeat-x;
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
margin-top: 10px;
}
img {
vertical-align: middle;
}
</style>
<script src="scripts/popup.js"></script>
</head>
<body>
<div id="mainDiv">
<form id="mainForm">
<p>
<span style="font-size:13px">移动滑块调整页面宽度</span>
</p>
<input type="range" id="widthRange"><span id="rangeSpan"></span></br>
<button id="btnConfirm">确定</button>
</form>
<a href="https://github.com/rascalquan">
<span id="copyRigntSpan" style="font-size:10px">--by rascalquan.</span>
</a>
</div>
</body>
</html>