Bootstrap 5 Accented Tables
Bootstrap 5 Accented tables are the tables that give a design-specific look and feel and which go beyond the mere basic table functionality of carrying rows and columns. There are three types of accented tables, striped, hoverable, and active, all of which are required in different situations.
On the accented tables we used some techniques to make these effects work for all our table variants.
Bootstrap 5 Accented Tables:
- Table Striped Rows: Table Striped rows are used to change the background color of alternate rows in the table row within the <tbody>. The rows look zebra-striped and it helps to differentiate between two rows of a table.
- Table Hoverable Rows: Table Hoverable Rows can be used to apply a hover state on table rows within a <tbody>. It helps to focus on the individual row.
- Table Active Tables: Active tables are used to make the table row, cell or column highlighted. We just need to put the dedicated class in that particular place.
<table class="table Bootstrap 5 Accented Tables Class"> ... </table>
Example 1: In this example, we will learn about the table-hover class and the table-active class.
Example 2: In this example, we will learn about the table-striped class.
My Personal Notes arrow_drop_up
Please Login to comment...