PageRenderTime 25ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/jade/page-contents/footer_content.html

https://gitlab.com/x33n/materialize
HTML | 108 lines | 96 code | 10 blank | 2 comment | 0 complexity | 9beb926e70704dd38c63b98f60b1e170 MD5 | raw file
  1. <div class="container">
  2. <div class="row">
  3. <div class="col s12 m9 l10">
  4. <!-- Footer Section-->
  5. <div id="footer" class="section scrollspy">
  6. <p class="caption">Footers are a great way to organize a lot of site navigation and information at the end of a page. This is where the user will look once hes finished scrolling through the current page or is looking for additional information about your website. </p>
  7. <h2 class="header">Introduction</h2>
  8. <p>Note: We use flexbox to structure our html so that the footer is always on the bottom of the page. It is important to keep the structure of your page within the 3 HTML5 tags: <code class="language-markup">&lt;header></code>, <code class="language-markup">&lt;main></code>, <code class="language-markup">&lt;footer></code></p>
  9. <footer class="page-footer example">
  10. <div class="container">
  11. <div class="row">
  12. <div class="col l6 s12">
  13. <h5 class="white-text">Footer Content</h5>
  14. <p class="grey-text text-lighten-4">You can use rows and columns here to organize your footer content.</p>
  15. </div>
  16. <div class="col l4 offset-l2 s12">
  17. <h5 class="white-text">Links</h5>
  18. <ul>
  19. <li><a class="grey-text text-lighten-3" href="#!">Link 1</a></li>
  20. <li><a class="grey-text text-lighten-3" href="#!">Link 2</a></li>
  21. <li><a class="grey-text text-lighten-3" href="#!">Link 3</a></li>
  22. <li><a class="grey-text text-lighten-3" href="#!">Link 4</a></li>
  23. </ul>
  24. </div>
  25. </div>
  26. </div>
  27. <div class="footer-copyright">
  28. <div class="container">
  29. © 2014 Copyright Text
  30. <a class="grey-text text-lighten-4 right" href="#!">More Links</a>
  31. </div>
  32. </div>
  33. </footer>
  34. <div class="row">
  35. <div class="col s12">
  36. <br>
  37. <pre><code class="language-markup">
  38. &lt;footer class="page-footer">
  39. &lt;div class="container">
  40. &lt;div class="row">
  41. &lt;div class="col l6 s12">
  42. &lt;h5 class="white-text">Footer Content&lt;/h5>
  43. &lt;p class="grey-text text-lighten-4">You can use rows and columns here to organize your footer content.&lt;/p>
  44. &lt;/div>
  45. &lt;div class="col l4 offset-l2 s12">
  46. &lt;h5 class="white-text">Links&lt;/h5>
  47. &lt;ul>
  48. &lt;li>&lt;a class="grey-text text-lighten-3" href="#!">Link 1&lt;/a>&lt;/li>
  49. &lt;li>&lt;a class="grey-text text-lighten-3" href="#!">Link 2&lt;/a>&lt;/li>
  50. &lt;li>&lt;a class="grey-text text-lighten-3" href="#!">Link 3&lt;/a>&lt;/li>
  51. &lt;li>&lt;a class="grey-text text-lighten-3" href="#!">Link 4&lt;/a>&lt;/li>
  52. &lt;/ul>
  53. &lt;/div>
  54. &lt;/div>
  55. &lt;/div>
  56. &lt;div class="footer-copyright">
  57. &lt;div class="container">
  58. © 2014 Copyright Text
  59. &lt;a class="grey-text text-lighten-4 right" href="#!">More Links&lt;/a>
  60. &lt;/div>
  61. &lt;/div>
  62. &lt;/footer>
  63. </code></pre>
  64. </div>
  65. </div>
  66. </div> <!-- End of footer section -->
  67. <div id="sticky-footer" class="section scrollspy">
  68. <h2 class="header">Sticky Footer</h2>
  69. <p>A sticky footer always stays on the bottom of the page regardless of how little content is on the page. However, this footer will be pushed down if there is a lot of content, so it is different from a fixed footer. Add the following code to your CSS file.</p>
  70. <p>Note: This may cause issues in Internet Explorer which has weak support for flexbox.</p>
  71. </div>
  72. <pre><code class="language-css">
  73. body {
  74. display: flex;
  75. min-height: 100vh;
  76. flex-direction: column;
  77. }
  78. main {
  79. flex: 1 0 auto;
  80. }
  81. </code></pre>
  82. </div>
  83. <div class="col hide-on-small-only m3 l2">
  84. <div class="toc-wrapper">
  85. <div class="buysellads hide-on-small-only">
  86. <!-- CarbonAds Zone Code -->
  87. <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=materializecss" id="_carbonads_js"></script>
  88. </div>
  89. <div style="height: 1px;">
  90. <ul class="section table-of-contents">
  91. <li><a href="#footer">Footer</a></li>
  92. <li><a href="#sticky-footer">Sticky Footer</a></li>
  93. </ul>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. </div>