<!DOCTYPE html>
<html lang="en">
<head>
<title>第一次上机测试:BootStrap</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 mt-3">
<h1>请登录</h1>
<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>
<br>
<button type="button" class="btn btn-primary">登录</button>
<button type="button" class="btn btn-warning">取消</button>
</div>
第一次上机测试:BootStrap
最新推荐文章于 2023-12-23 21:57:16 发布