section.html 955 B

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