语义UI,段中的扩展表(附加或不附加)

时间:2017-12-13 13:41:28

标签: css semantic-ui

如果有这样的话,我无法在文档中找到:

https://plnkr.co/edit/zIcna8yqlScotLwcZGX9

  • 来自:

1

  • 到此:

2

StackOverflow政策代码:

<!DOCTYPE html>
<html>

<head>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.13/semantic.min.css" />
  <link rel="stylesheet" href="style.css" />
  <script src="script.js"></script>
</head>

<body>
  <br>
  <br>
  <div class="ui container">

    <div class="ui segment">
      <p>Normal table in segment.</p>
      <br>

      <table class="ui celled table">
        <thead>
          <tr>
            <th>Header</th>
            <th>Header</th>
            <th>Header</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
        </tbody>
        <tfoot>
          <tr>
            <th colspan="3">
              <div class="ui right floated pagination menu">
                <a class="icon item">
                  <i class="left chevron icon"></i>
                </a>
                <a class="item">1</a>
                <a class="item">2</a>
                <a class="item">3</a>
                <a class="item">4</a>
                <a class="icon item">
                  <i class="right chevron icon"></i>
                </a>
              </div>
            </th>
          </tr>
        </tfoot>
      </table>
    </div>
  </div>


  <br>
  <br>
  <div class="ui container">

    <div class="ui segment" style="padding: 0">
      <p style="color:red">Expanded table in segment, something like this:</p>
      <br>

      <table class="ui celled attached table">
        <thead>
          <tr>
            <th>Header</th>
            <th>Header</th>
            <th>Header</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
          <tr>
            <td>Cell</td>
            <td>Cell</td>
            <td>Cell</td>
          </tr>
        </tbody>
        <tfoot>
          <tr>
            <th colspan="3">
              <div class="ui right floated pagination menu">
                <a class="icon item">
                  <i class="left chevron icon"></i>
                </a>
                <a class="item">1</a>
                <a class="item">2</a>
                <a class="item">3</a>
                <a class="item">4</a>
                <a class="icon item">
                  <i class="right chevron icon"></i>
                </a>
              </div>
            </th>
          </tr>
        </tfoot>
      </table>
    </div>
  </div>

</body>

</html>

StackOverflow还要求我更详细地解释一下。也许这就足够了?不,这简直令人难以置信。好的我继续再次。再一次。

现在也是。它&#39;令人难以置信。同样,更多的文字,更多的文字,更多的权力,更多的时间。谢谢StackOverflow。非常感谢。

0 个答案:

没有答案