diff options
Merge pull request #30 from picturepan2/feature/table-improvements
add more table options
1 files changed, 4 insertions, 4 deletions
| -rw-r--r-- | index.html | 8 |
@@ -398,7 +398,7 @@ <p><strong>Tables</strong> include default styles for tables and data sets.</p> </section> - <table class="table"> + <table class="table table-striped table-hover"> <thead> <tr> <th>name</th> @@ -435,12 +435,12 @@ </tbody> </table> <section class="notes"> - <p>Add the class <code>table</code> to any <table> element. The class will add padding, border and emphasized table header. Use the class <code>selected</code> to make <tr> element highlighted. </p> + <p>Add the class <code>table</code> to any <table> element. The class will add padding, border and emphasized table header. Use <code>table-striped</code> to <table> to add zebra striped style. For hoverable table rows, you can add the class <code>table-hover</code> to enable hover style. Then use the class <code>selected</code> to make <tr> element highlighted. </p> </section> <!-- tables example --> <pre class="code lang-html"> -<<span class="tag">table</span> <span class="atn">class</span>=<span class="atv">"table"</span>> +<<span class="tag">table</span> <span class="atn">class</span>=<span class="atv">"table table-striped table-hover"</span>> <<span class="tag">thead</span>> <<span class="tag">tr</span>> <<span class="tag">th</span>>name<<span class="tag">/th</span>> @@ -2145,7 +2145,7 @@ <footer class="bg-grey"> <section id="copyright" class="grid-footer grid-960"> <p> - <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.15 + <a href="https://github.com/picturepan2/spectre" target="_blank">GitHub Repo</a> | <a href="#">Back to top</a> | version: 0.1.16 </p> <p>Designed and built with love by <a href="https://twitter.com/picturepan2" target="_blank">Yan Zhu</a>. Licensed under the <a href="https://github.com/picturepan2/spectre/blob/master/LICENSE" target="_blank">MIT License</a>.</p> </section> |