Bootstrap table coloured rows example

A simple example of using the table coloured rows in Bootstrap.
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="Bootstrap example for Tizen"/>
    
    <title>Bootstrap example for Tizen</title>
    
 <link rel="stylesheet" href="css/bootstrap.min.css">
  <script src="js/jquery-2.1.4.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h2>Table class example</h2>         
  <table class="table">
    <thead>
      <tr class="active">
        <th>Plane</th>
        <th>Country</th>
        <th>Max speed</th>
      </tr>
    </thead>
    <tbody>
      <tr class="success">
        <td>PZL P.11g</td>
        <td>Poland</td>
        <td>390 km/h</td>
      </tr>
      <tr class="info">
        <td>BF-109 G-10</td>
        <td>Germany</td>
        <td>690 km/h</td>
      </tr>
      <tr class="warning">
        <td>P-51D-25NT</td>
        <td>USA</td>
        <td>703 km/h</td>
      </tr>
      <tr class="danger">
        <td>Mitsubishi Zero</td>
        <td>Japan</td>
        <td>537 km/h</td>
      </tr>
       <tr class="active">
        <td>Il-2</td>
        <td>Soviet Union</td>
        <td>414 km/h</td>
      </tr>
    </tbody>
  </table>
</div>

<script>
</script>

</body>
</html>

Responses

0 Replies