Wechseln zu: Navigation, Suche

Bausteintest: Unterschied zwischen den Versionen

Zeile 1: Zeile 1:
<table class="table">
+
<div class="table-responsive">
 +
    <table class="table table-bordered table-striped">
 
       <thead>
 
       <thead>
 
         <tr>
 
         <tr>
           <th>#</th>
+
           <th></th>
           <th>Column heading</th>
+
           <th>
           <th>Column heading</th>
+
            Extra small devices
           <th>Column heading</th>
+
            <small>Phones (&lt;768px)</small>
 +
          </th>
 +
           <th>
 +
            Small devices
 +
            <small>Tablets (≥768px)</small>
 +
          </th>
 +
           <th>
 +
            Medium devices
 +
            <small>Desktops (≥992px)</small>
 +
          </th>
 +
          <th>
 +
            Large devices
 +
            <small>Desktops (≥1200px)</small>
 +
          </th>
 
         </tr>
 
         </tr>
 
       </thead>
 
       </thead>
 
       <tbody>
 
       <tbody>
         <tr class="active">
+
         <tr>
           <th scope="row">1</th>
+
           <th class="text-nowrap" scope="row">Grid behavior</th>
           <td>Column content</td>
+
           <td>Horizontal at all times</td>
          <td>Column content</td>
+
           <td colspan="3">Collapsed to start, horizontal above breakpoints</td>
           <td>Column content</td>
+
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
           <th scope="row">2</th>
+
           <th class="text-nowrap" scope="row">Container width</th>
           <td>Column content</td>
+
           <td>None (auto)</td>
           <td>Column content</td>
+
          <td>750px</td>
           <td>Column content</td>
+
           <td>970px</td>
 +
           <td>1170px</td>
 
         </tr>
 
         </tr>
         <tr class="success">
+
         <tr>
           <th scope="row">3</th>
+
           <th class="text-nowrap" scope="row">Class prefix</th>
           <td>Column content</td>
+
           <td><code>.col-xs-</code></td>
           <td>Column content</td>
+
           <td><code>.col-sm-</code></td>
           <td>Column content</td>
+
           <td><code>.col-md-</code></td>
 +
          <td><code>.col-lg-</code></td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
           <th scope="row">4</th>
+
           <th class="text-nowrap" scope="row"># of columns</th>
           <td>Column content</td>
+
           <td colspan="4">12</td>
          <td>Column content</td>
+
          <td>Column content</td>
+
 
         </tr>
 
         </tr>
         <tr class="info">
+
         <tr>
           <th scope="row">5</th>
+
           <th class="text-nowrap" scope="row">Column width</th>
           <td>Column content</td>
+
           <td class="text-muted">Auto</td>
           <td>Column content</td>
+
           <td>~62px</td>
           <td>Column content</td>
+
           <td>~81px</td>
 +
          <td>~97px</td>
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
           <th scope="row">6</th>
+
           <th class="text-nowrap" scope="row">Gutter width</th>
           <td>Column content</td>
+
           <td colspan="4">30px (15px on each side of a column)</td>
          <td>Column content</td>
+
          <td>Column content</td>
+
 
         </tr>
 
         </tr>
         <tr class="warning">
+
         <tr>
           <th scope="row">7</th>
+
           <th class="text-nowrap" scope="row">Nestable</th>
           <td>Column content</td>
+
           <td colspan="4">Yes</td>
          <td>Column content</td>
+
          <td>Column content</td>
+
 
         </tr>
 
         </tr>
 
         <tr>
 
         <tr>
           <th scope="row">8</th>
+
           <th class="text-nowrap" scope="row">Offsets</th>
           <td>Column content</td>
+
           <td colspan="4">Yes</td>
          <td>Column content</td>
+
          <td>Column content</td>
+
 
         </tr>
 
         </tr>
         <tr class="danger">
+
         <tr>
           <th scope="row">9</th>
+
           <th class="text-nowrap" scope="row">Column ordering</th>
           <td>Column content</td>
+
           <td colspan="4">Yes</td>
          <td>Column content</td>
+
          <td>Column content</td>
+
 
         </tr>
 
         </tr>
 
       </tbody>
 
       </tbody>
 
     </table>
 
     </table>
 +
  </div>

Version vom 25. August 2015, 13:30 Uhr

<thead> </thead> <tbody> </tbody>
           Extra small devices
           Phones (<768px)
           Small devices
           Tablets (≥768px)
           Medium devices
           Desktops (≥992px)
           Large devices
           Desktops (≥1200px)
Grid behavior Horizontal at all times Collapsed to start, horizontal above breakpoints
Container width None (auto) 750px 970px 1170px
Class prefix .col-xs- .col-sm- .col-md- .col-lg-
# of columns 12
Column width Auto ~62px ~81px ~97px
Gutter width 30px (15px on each side of a column)
Nestable Yes
Offsets Yes
Column ordering Yes