Bootstrap Wells

❮ 前章へ 次章へ ❯

Wells

.well クラスは、要素の周りに灰色の背景色とパディングを持った角丸のボーダーを追加します:

Basic Well

<div class="well">Basic Well</div>
Try it Yourself »

Well のサイズ

Small Well
Normal Well
Large Well

well のサイズを変更するには、小さな well には .well-sm クラスを、 大きな well には .well-lg クラスを追加します:

<div class="well well-sm">Small Well</div>
<div class="well well-lg">Large Well</div>
Try it Yourself »

デフォルトの well のサイズは medium です。


❮ 前章へ 次章へ ❯