<!DOCTYPE html>
<html lang="en">
<head>
<title>第一次上机实验</title>
<meta charset="utf-8">
<style type="text-css">
#p1{
font-size:larger;
font-weight: bolder;
}
.input-group{
width: 400px;
}
</style>
<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 mt-3">
<div><p1 class="h1">请登录</p1></div>
<br/>
<form>
<div class="input-group">
<span class="input-group-text">@</span>
<input type="text" class="form-control" placeholder="用户名">
</div>
<div class="input-group">
<span class="input-group-text">@</span>
<input type="text" class="form-control" placeholder="密码">
</div>
</form>
<div class="container mt-3">
<button type="button" class="btn btn-primary">登陆</button>
<button type="button" class="btn btn-warning">取消</button>
</div>
</div>
</body>
</html>
【第一次上机测试:BootStrap】
于 2023-12-01 17:02:12 首次发布