Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap Well

Bootstrap Well

A Well is a container that causes content to appear inset or gives an inset effect

. To create a Well, simply place the content inside an element with the class .well 's
. The following example demonstrates a default Well:

Example

<div class="well">

Hello, I am in a Well!

div

Try it »

The result is as follows:

Sizing

You can use the optional classes well-lg or well-sm to change the size of a Well. These two classes are used together with the .well class. These two classes affect the padding; depending on the class used, the Well will appear larger or smaller.

Example

<div class=">

well well-lg

"

Hello, I am in a large Well!

div

<div class=">

well well-sm

"

Hello, I am in a small Well!

div

Try it »

The result is as follows: