section.html 894 B

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. title: Section
  3. subtitle: "A simple container to divide your page into <strong>sections</strong>, like the one you're currently reading"
  4. layout: documentation
  5. doc-tab: layout
  6. doc-subtab: section
  7. ---
  8. {% capture section_example %}
  9. <body>
  10. <section class="section">
  11. <div class="container">
  12. <h1 class="title">Section</h1>
  13. <h2 class="subtitle">
  14. A simple container to divide your page into <strong>sections</strong>, like the one you're currently reading
  15. </h2>
  16. </div>
  17. </section>
  18. </body>
  19. {% endcapture %}
  20. <div class="content">
  21. <p>Use sections as <strong>direct</strong> children of <code>body</code>.</p>
  22. </div>
  23. {% highlight html %}{{ section_example }}{% endhighlight %}
  24. <div class="content">
  25. <p>You can use the modifiers <code>is-medium</code> and <code>is-large</code> to change the <strong>spacing</strong>.</p>
  26. </div>
  27. {% include variables.html %}