|
Bootstrap 5 provides various classes that can be used for styling the tables such as changing the heading appearance, making the rows striped, adding or removing borders, making rows hoverable, etc. In this article, we will learn How to create a rounded table in Bootstrap 5. Here we use two different approaches rounded-3 and rounded-pill. these are two different classes in Bootstrap for giving styles to the table. Table of Content Approach 1: Using rounded-*
Syntax: <table class="table table-sm table-bordered bg-success text-light rounded-3">
Example: In this example we create a rounded table in Bootstrap 5 using rounded class HTML
Output Approach 2: Using Rounded-pill
Syntax: <table class="table table-sm table-bordered bg-danger text-light rounded-pill" >
Example: In this example we will see how to create a rounded table in Bootstrap 5 HTML
Output: |
Reffered: https://www.geeksforgeeks.org
Bootstrap |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |