引导警告上下文类

Bootstrap警告上下文类指示警告操作。

您可以尝试运行以下代码来实现.warning类

示例

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Table</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <table class = "table">
         <thead>
            <tr>
               <th>Subject</th>
               <th>Marks</th>
               <th>Student</th>
            </tr>
         </thead>
         <tbody>
            <tr class = "success">
               <td>Programming</td>
               <td>90</td>
               <td>Amit</td>
            </tr>
            <tr class = "active">
               <td>Web Dev</td>
               <td>92</td>
               <td>Yuvraj</td>
            </tr>
            <tr class = "warning">
               <td>Science</td>
               <td>95</td>
               <td>Sachin</td>
            </tr>
         </tbody>
      </table>
   </body>
</html>