Open In App

What is the use of wells Class in Bootstrap?

The Bootstrap wells class creates a visually appealing container with rounded corners and a slightly inset border, providing a subtle and stylish enclosure for content.

However, starting with Bootstrap 5, the .well class has been removed. The official recommendation is to use other components like cards, alerts, or jumbotrons to achieve similar functionality with more modern styling and features.

Syntax:

<div class="well">
<!-- Your content goes here -->
</div>

Key Features:

Article Tags :