-
Notifications
You must be signed in to change notification settings - Fork 0
/
07input-group.html
48 lines (42 loc) · 1.51 KB
/
07input-group.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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>input-group</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
.page_background {
background: url(img/page_background.jpg);
border: 2px solid;
border-radius: 12px;
padding: 10px;
}
</style>
</head>
<body>
<div class="page_background">
<form action="" method="post" role="form" style="width: 90%;margin-left: auto;margin-right: auto;">
<div id="" class="form-group">
<label for="username" style="color: white;">用户名:</label>
<input type="text" class="form-control" name="username" id="username" />
</div>
<div id="" class="form-group">
<label for="password" style="color: white;">密码:</label>
<input type="password" class="form-control" name="password" id="password" />
</div>
<div id="" class="btn-group">
<input type="submit" class="btn btn-primary" />
<input type="reset" class="btn btn-danger" />
</div>
</form>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-2.1.4.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>