Bootstrap Table Responsive In Mobile View Code Example


Example 1: responsive table bootstrap 4

<div class="table-responsive-sm">   <table class="table">     ...   </table> </div>

Example 2: responsive bootstrap table

<table class="table">   <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>

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?