Bootstrap 4:
<ul class="nav">
<li class="nav-item">
<a href="..." class="nav-link">...</a>
</li>
<li class="nav-item">
<a href="..." class="nav-link">...</a>
</li>
</ul>
<ul class="nav">
<li class="nav-item">
<a href="..." class="nav-link">...</a>
</li>
<li class="nav-item">
<a href="..." class="nav-link">...</a>
</li>
</ul>
2020-12-28
Bootstrap 4:
<div class="dropdown">
<button class="dropdown-toggle btn" data-toggle="dropdown">...</button>
<div class="dropdown-menu">
<a href="..." class="dropdown-item">...</a>
<a href="..." class="dropdown-item">...</a>
</div>
</div>
<div class="dropdown">
<button class="dropdown-toggle btn" data-toggle="dropdown">...</button>
<div class="dropdown-menu">
<a href="..." class="dropdown-item">...</a>
<a href="..." class="dropdown-item">...</a>
</div>
</div>
2020-12-27
Bootstrap 4:
<div class="form-group">
<label for="ID">...</label>
<input type="text" id="ID" class="form-control" />
<small class="form-text text-muted">…</small>
</div>
<div class="form-group">
<label for="ID">...</label>
<input type="text" id="ID" class="form-control" />
<small class="form-text text-muted">…</small>
</div>
2020-12-27
Bootstrap 4:
<div class="form-group">
<label for="ID">...</label>
<input type="text" id="ID" class="form-control is-valid或is-invalid" />
</div>
<div class="form-group">
<label for="ID">...</label>
<input type="text" id="ID" class="form-control is-valid或is-invalid" />
</div>
2020-12-27
Bootstrap 4:
<dl class="row">
<dt class="col-*">…</dt>
<dd class="col-*">…</dd>
</dl>
<dl class="row">
<dt class="col-*">…</dt>
<dd class="col-*">…</dd>
</dl>
2020-12-26
Bootstrap 4:
<div class="form-check">
<input type="radio或checkbox" id="ID" class="form-check-input" />
<label for="ID" class="form-check-label">...</label>
</div>
<div class="form-check">
<input type="radio或checkbox" id="ID" class="form-check-input" />
<label for="ID" class="form-check-label">...</label>
</div>
2020-12-26
我的理解:radio 是收音机,收音机的按钮就是单选按钮,一个按钮按下,另一个按钮就会弹起。
2020-12-25