How to use the Bootstrap wells

Overview

well is a Bootstrap class used to add rounded borders with padding and a gray color background to the text. It can be used to show purposes.

Example

Let's look at the code below:

Bootstrap well

Explanation

The code in the HTML file refers to the above output. In line 15, we use a <div> element with a class attribute of well . This class attribute adds the rounded border, the grey background, and the padded styling.

Note: Both the Bootstrap CSS and Script are used to add styling, therefore, it is important to add their links in the Bootstrap code.

Free Resources