is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Bootstrap, Bulma, Material-UI, and Tailwind CSS.

Bootstrap class: .table-striped

<table class="table table-striped">
      <th>First Name</th>
      <th>Last Name</th>
      <th scope="row">1</th>
      <th scope="row">2</th>


# First Name Last Name
1 Mark Otto
2 Jacob Thornton

Tips 💡

Sass source

/* _tables.scss:77 */
.table-striped {
  tbody tr:nth-of-type(#{$table-striped-order}) {
    background-color: $table-accent-bg;

Uses variables

Code copied to the clipboard.

Copying failed

/* _tables.scss:77 */

More in Bootstrap Tables