Answers for "highlight table row bootstrap"

1

table bootstrap dark

<table class="table table-dark">
  <thead>
    <tr>
      <th scope="col">#</th>
      <th scope="col">First</th>
      <th scope="col">Last</th>
      <th scope="col">Handle</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <td>Mark</td>
      <td>Otto</td>
      <td>@mdo</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <td>Jacob</td>
      <td>Thornton</td>
      <td>@fat</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <td>Larry</td>
      <td>the Bird</td>
      <td>@twitter</td>
    </tr>
  </tbody>
</table>
Posted by: Guest on December-05-2020
1

bootstrap change color table striped

/* Add the following CSS style after loading Bootstrap
	to change the color of table-striped: */

.table-striped>tbody>tr:nth-child(odd)>td, 
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: red; /* Choose your own color here */
}
Posted by: Guest on June-11-2021
1

striped table bootstrap

// Add the table and table striped class from bootstrap
<table class="table table-striped">
Posted by: Guest on May-27-2021
0

d-print-table-cell bootstrap

<div class="d-print-none">Doesn't display when printing</div>
<div class="d-print-block">Displays as block when printing</div>
<div class="d-print-inline">Displays as inline when printing</div>
<div class="d-print-inline-block">Displays as inline-block when printing</div>Copy code
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language