<!DOCTYPE html>
<html>
<head>
<title>第一次上机测验</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container-fluid">
<h1>请输入</h1>
<p></p>
<form>
<div class="input-group" style="width: 500px;">
<span class="input-group-text">@</span>
<input type="text" class="form-control" placeholder="用户名">
</div>
</form>
<form>
<div class="input-group" style="width: 500px;">
<span class="input-group-text">@</span>
<input type="text" class="form-control" style="width: 200px;" placeholder="密码">
</div>
</form>
<p></p>
<button type="button" class="btn btn-primary">登录</button>
<button type="button" class="btn btn-warning">取消</button>
</div>
</body>
</html>
Bootstrap
于 2023-12-09 15:42:22 首次发布