-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
60 lines (60 loc) · 1.18 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
width: 300px;
padding: 10px;
}
.form-group {
margin-bottom: 10px;
}
label {
display: block;
margin-bottom: 5px;
}
input {
width: 100%;
padding: 5px;
}
button {
width: 100%;
padding: 8px;
background: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 10px;
}
#fill {
margin-top: 15px;
background: #2196F3;
}
#fill:hover {
background: #1976D2;
}
button:hover {
background: #45a049;
}
</style>
</head>
<body>
<div class="form-group">
<label>昵称</label>
<input type="text" id="nickname" placeholder="输入昵称">
</div>
<div class="form-group">
<label>邮箱</label>
<input type="email" id="email" placeholder="输入邮箱">
</div>
<div class="form-group">
<label>网址</label>
<input type="url" id="website" placeholder="输入网址">
</div>
<button id="save">保存设置</button>
<button id="fill">立即填充</button>
<script src="popup.js"></script>
</body>
</html>