-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path王泽凯-20281329.html
58 lines (48 loc) · 1.3 KB
/
王泽凯-20281329.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>
.container {
width: 300px;
padding: 16px;
background-color: white;
margin: 0 auto;
margin-top: 100px;
border: 1px solid black;
border-radius: 4px;
}
input[type=text], input[type=password] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
.btn {
background-color: #4CAF50;
color: white;
padding: 16px 20px;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
}
.btn:hover {
opacity: 1;
}
</style>
</head>
<body>
<div class="container">
<label for="uname"><b>用户名</b></label>
<input type="text" placeholder="输入用户名" name="uname" id="username" required>
<label for="psw"><b>密码</b></label>
<input type="password" placeholder="输入密码" name="psw" id="password" required>
<button type="submit" class="btn" id="login-btn">登录</button>
</div>
<script src="script.js"></script>
</body>
</html>