<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登陸</title>
<link rel="stylesheet" type="text/css" href="CSS/bootstrap.css"/>
<style type="text/css">
body {
background-repeat: no-repeat;
background-position: 0 center;
}
.container {
/* height: 500px;
line-height: 500px; */
}
.row-centered {
height: 300px;
text-align: center;
border: 1px solid #5E5E5E;
border-radius: 20px;
vertical-align: middle;
position: relative;
background-image: url(image/mmexport1560347841073.jpg);
transform: translateY(50%);
}
.col-xs-4 {
height: 60px;
line-height: 60px;
}
</style>
</head>
<body >
<div class="container">
<div class="row row-centered ">
<h2>歡迎登陸</h2>
<form class="form-horizontal" action="" method="">
<div class="form-group has-feedback">
<label class="control-label sr-only">用戶名</label>
<div class="col-xs-4 col-xs-offset-4">
<input type="text" class="form-control" name="" id="" value="" placeholder="請輸入用戶名" />
<span class="glyphicon glyphicon-user form-control-feedback"></span>
</div>
</div>
<div class="form-group has-feedback">
<label class="control-label sr-only">密碼</label>
<div class="col-xs-4 col-xs-offset-4">
<input class="form-control" type="password" name="" id="" value="" placeholder="請輸入密碼" />
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
</div>
<div class="col-xs-2 col-xs-offset-4">
<button type="button" class="btn btn-success btn-block">登陸</button>
</div>
<div class="col-xs-2">
<button type="button" class="btn btn-success btn-block">註冊</button>
</div>
</form>
</div>
</div>
</body>
</html>