<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 表格 輕松創建具有不同風格的漂亮的表格。 ## 用法 要應用這個組件,添加 `.uk-table` 類到一個 table 元素。表格的各行將被線條分隔開。 ### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f2f8bfbf.jpg) ### Code ``` <table class="uk-table"> <caption>...</caption> <thead> <tr> <th>...</th> </tr> </thead> <tfoot> <tr> <td>...</td> </tr> </tfoot> <tbody> <tr> <td>...</td> </tr> </tbody> </table> ``` * * * ### 列 要修改列的寬度或內容,你可以使用其他組件。下面是一些實用的例子: ![](https://box.kancloud.cn/2016-05-12_57346f2fa0e94.jpg) #### Code ``` <td class="uk-width-1-10 uk-text-right">...</td> <td class="uk-width-9-10 uk-text-bold">...</td> ``` * * * ### 垂直修飾 垂直居中表格內容,只需添加 `.uk-table-middle` 類到 `&lt;tr&gt;` 或 `&lt;td&gt;` 元素。 * * * ## 修飾 若要以不同的風格樣式顯示表格,只需添加一個修飾類到 `.uk-table` 類之后。 ### 表格上的鼠標經過 添加 `.uk-table-hover` 類,賦予表格行鼠標經過狀態。 #### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f2fe4b66.jpg) #### Code ``` <table class="uk-table uk-table-hover">...</table> ``` * * * ### 表格條紋 添加 `.uk-table-striped` 類,為表格應用斑馬線條紋狀態。 #### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f3000c47.jpg) #### Code ``` <table class="uk-table uk-table-striped">...</table> ``` * * * ### 壓縮表格 添加 `.uk-table-condensed` 類使表格單元格更加緊湊。 #### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f3010cb8.jpg) #### Code ``` <table class="uk-table uk-table-condensed">...</table> ``` * * * ### 組合修飾類 表格組件的修飾類可以相互組合使用。 #### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f3021d4b.jpg) #### Code ``` <table class="uk-table uk-table-hover uk-table-striped uk-table-condensed">...</table> ``` * * * ## 響應式表格 如果你的表格恰好比它的容器元素寬了一些或者最終在某個特定的視口寬度中顯得太大,只需要用帶有 `.uk-overflow-container` 類的 `&lt;div&gt;` 元素將其包裹。當內部的元素比這個容器本身寬的時候,將會創建一個水平的滾動條。 ### 示例 ![](https://box.kancloud.cn/2016-05-12_57346f3032655.jpg) #### Code ``` <div class="uk-overflow-container"> <table>...</table> </div> ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看