/
githubmirror
/
materialize
Обзор
Документация
Войти
/
githubmirror
/
materialize
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1-dev
jade/page-contents/table_content.html
263 строки
8 KB
Chang Alan
changed carbon ad code
25 май 2018, 00:33
25 май 2018, 00:33
c72138e
Код
Авторство
О чём код?
<div class="container"> <div class="row"> <div class="col s12 m8 offset-m1 xl7 offset-xl1"> <!-- Tables Section--> <div id="introduction" class="section scrollspy"> <p class="caption">Tables are a nice way to organize a lot of data. We provide a few utility classes to help you style your table as easily as possible. In addition, to improve mobile experience, all tables on mobile-screen widths are centered automatically.</p> <div class="row"> <div class="col s12"> <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> <tr> <td>Shannon</td> <td>KitKat</td> <td>$9.99</td> </tr> </tbody> </table> </div> <div class="col s12"> <pre><code class="language-markup"> <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> </code></pre> </div> </div> </div> <div id="striped" class="section scrollspy"> <h3 class="header">Striped Table</h3> <div class="row"> <div class="col s12"> <p>Add <code class="language-markup">class="striped"</code> to the table tag for a striped table</p> <table class="striped"> <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> <tr> <td>Shannon</td> <td>KitKat</td> <td>$9.99</td> </tr> </tbody> </table> </div> </div> </div> <div id="highlight" class="section scrollspy"> <h3 class="header">Highlight Table</h3> <div class="row"> <div class="col s12"> <p>Add <code class="language-markup">class="highlight"</code> to the table tag for a highlight table.</p> <table class="highlight"> <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> <tr> <td>Shannon</td> <td>KitKat</td> <td>$9.99</td> </tr> </tbody> </table> </div> </div> </div> <div id="centered" class="section scrollspy"> <h3 class="header">Centered Table</h3> <div class="row"> <div class="col s12"> <p>Add <code class="language-markup">class="centered"</code> to the table tag to center align all the text in the table</p> <table class="centered"> <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> <tr> <td>Shannon</td> <td>KitKat</td> <td>$9.99</td> </tr> </tbody> </table> </div> </div> </div> <div id="responsive" class="section scrollspy"> <h3 class="header">Responsive Table</h3> <div class="row"> <div class="col s12"> <p>Add <code class="language-markup">class="responsive-table"</code> to the table tag to make the table horizontally scrollable on smaller screen widths.</p> <table class="responsive-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> <tr> <td>Shannon</td> <td>KitKat</td> <td>$9.99</td> </tr> </tbody> </table> </div> </div> </div> </div><!-- End Tables Section --> <div class="col hide-on-small-only m3 xl3 offset-xl1"> <div class="toc-wrapper"> <div class="buysellads hide-on-small-only"> <!-- CarbonAds Zone Code --> <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CKYIK27J&placement=materializecss" id="_carbonads_js"></script> </div> <div style="height: 1px;"> <ul class="section table-of-contents"> <li><a href="#introduction">Introduction</a></li> <li><a href="#striped">Striped</a></li> <li><a href="#highlight">Highlight</a></li> <li><a href="#centered">Centered</a></li> <li><a href="#responsive">Responsive</a></li> </ul> </div> </div> </div> </div> </div>