Open In App

What is the use of wells Class in Bootstrap?

Last Updated : 16 Feb, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

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:

  • Visual Enclosure: The well class imparts a visually distinct enclosure, enhancing the presentation of content.
  • Rounded Corners: Content within the well container is framed with rounded corners, adding a soft and aesthetically pleasing touch.
  • Inset Border: A subtle inset border provides a delineation without being overly pronounced.
  • Easy Integration: Easily integrate the well class into various elements such as divs or other container elements.

Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads