Bootstrap样式
1. 导航栏
顶部导航
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="#">App</a>
<ul class="navbar-nav justify-content-end">
<li class="nav-item"><a class="nav-link" href="#">帮助</a></li>
<li class="nav-item" ><a class="nav-link" href="#">登录</a</li>
</ul>
</div>
</nav>
2. 表单
注册
<div class="offset-md-2 col-md-8">
<div class="card ">
<div class="card-header">
<h5>注册</h5>
</div>
<div class="card-body">
<form method="POST" action="#">
<div class="form-group">
<label for="name">名称:</label>
<input type="text" name="name" class="form-control" value="{{ old('name') }}">
</div>
<div class="form-group">
<label for="email">邮箱:</label>
<input type="text" name="email" class="form-control" value="{{ old('email') }}">
</div>
<div class="form-group">
<label for="password">密码:</label>
<input type="password" name="password" class="form-control" value="{{ old('password') }}">
</div>
<div class="form-group">
<label for="password_confirmation">确认密码:</label>
<input type="password" name="password_confirmation" class="form-control" value="{{ old('password_confirmation') }}">
</div>
<button type="submit" class="btn btn-primary">注册</button>
</form>
</div>
</div>
</div>
记住我
<div class="form-group">
<div class="form-check">
<input type="checkbox" class="form-check-input" name="remember" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">记住我</label>
</div>
</div>
Bootstrap样式
https://everysunday.github.io/2022/01/04/Bootstrap常用样式/