MD的web框架之一Materialize_CSS3

2018-01-31  本文已影响0人  KongBF

Table表格

表格可以很好的来组织大量数据。 我们提供了一些实用程序类,以帮助你尽可能容易修改表格样式。 此外,为了改善移动端的体验,在移动端屏幕中,所有表格都会自动居中。

无边框表格
该表格默认情况下无边框。

  <table>
    <thead>
      <tr>
          <th>Name</th>
          <th>Item Name</th>
          <th>Item Price</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td>Alvin</td>
        <td>Eclair</td>
        <td>$0.87</td>
      </tr>
      <tr>
        <td>Alan</td>
        <td>Jellybean</td>
        <td>$3.76</td>
      </tr>
      <tr>
        <td>Jonathan</td>
        <td>Lollipop</td>
        <td>$7.00</td>
      </tr>
    </tbody>
  </table>

有边框表格
class="bordered"

条纹形表格

class="striped"


Highlight Table
class="highlight"


中心对齐表格
class="centered"


Responsive Table
class="responsive-table"


CSS Transitions

<!-- Scaled in -->
  <a id="scale-demo" href="#!" class="btn-floating btn-large scale-transition">
    <i class="material-icons">add</i>
  </a>

  <!-- Scaled out -->
  <a id="scale-demo" href="#!" class="btn-floating btn-large scale-transition scale-out">
    <i class="material-icons">add</i>
  </a>
  

Typography字体

  html {
    font-family: GillSans, Calibri, Trebuchet, sans-serif;
  }
    <blockquote>
      This is an example quotation that uses the blockquote tag.
    </blockquote>

Flow Text

根据区域大小去改变字体的大小



    <p class="flow-text">I am Flow Text</p>
上一篇 下一篇

猜你喜欢

热点阅读