-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
executable file
·68 lines (65 loc) · 1.37 KB
/
options.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
62
63
64
65
66
67
68
<html>
<head>
<title>设定城市</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style>
html,body{
width: 100%;
height: 100%;
}
body{
background-color: #000;
font-size: 20px;
color:white;
font-family: '微软雅黑';
}
.main{
width: 100%;
}
.main h1{
font-size: 30px;
width:50%;
height:40%;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
text-align: center;
}
.main .group{
width:50%;
height:40%;
position: absolute;
left: 0;
top: 20%;
right: 0;
bottom: 0;
margin: auto;
text-align: center;
}
.main .group input{
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
border: 1px solid #ccc;
background-color: #fff;
display: inline-block;
/*width: 100%;*/
height: 34px;
padding: 6px 12px;
border-radius: 6px;
}
</style>
</head>
<body>
<div class="main">
<h1>请输入城市名称的拼音</h1>
<div class="group">
<input type="text" id="city" />
<input type="button" id="save" value="保存" />
</div>
</div>
<script src="js/options.js"></script>
</body>
</html>