<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" >
<title>登录页面</title>
<!-- 链接到 Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
body {
background-color: #f8f9fa;
}
.login-container {
max-width: 400px;
background-color: #ffffff;
}
</style>
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6 login-container">
<h2 class="text-center mb-4">登录</h2>
<form>
<div class="form-group">
<label for="username">用户名</label>
<input type="text" id="username" placeholder="请输入用户名">
</div>
<div class="form-group">
<label for="password">密 码</label>
<input type="password" id="password" placeholder="请输入密码">
</div>
<div class="row">
<div class="col-md-6">
<button type="submit" >登录</button>
</div>
<div class="col-md-6">
<button type="button" >取消</button>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>