22.5k views
4 votes
Which Bootstrap class will apply a striped look to a Bootstrap table?

User Stecya
by
7.2k points

1 Answer

4 votes

Final answer:

The Bootstrap class that applies a striped look to a table is 'table-striped', which enhances readability by alternating the background color of table rows.

Step-by-step explanation:

To apply a striped look to a Bootstrap table, you can use the class table-striped. This class adds zebra-striping to any table row within the <tbody> by changing the background color of alternate rows.

This feature is part of Bootstrap's table component customization options, enhancing the readability of large tables by helping to visually separate each row.

User Venugopal M
by
8.7k points