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.

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources