2016-09-11 11:00:49 +00:00
|
|
|
---
|
2017-07-29 12:02:00 +00:00
|
|
|
title: Section
|
2016-09-11 11:00:49 +00:00
|
|
|
layout: documentation
|
|
|
|
doc-tab: layout
|
|
|
|
doc-subtab: section
|
2018-04-09 15:50:33 +00:00
|
|
|
breadcrumb:
|
|
|
|
- home
|
|
|
|
- documentation
|
|
|
|
- layout
|
|
|
|
- layout-section
|
2016-09-11 11:00:49 +00:00
|
|
|
---
|
|
|
|
|
2018-04-09 15:33:44 +00:00
|
|
|
{% capture section_example %}
|
2016-09-11 11:00:49 +00:00
|
|
|
<body>
|
|
|
|
<section class="section">
|
|
|
|
<div class="container">
|
2017-06-07 19:55:55 +00:00
|
|
|
<h1 class="title">Section</h1>
|
|
|
|
<h2 class="subtitle">
|
|
|
|
A simple container to divide your page into <strong>sections</strong>, like the one you're currently reading
|
|
|
|
</h2>
|
2016-09-11 11:00:49 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</body>
|
2018-04-09 15:33:44 +00:00
|
|
|
{% endcapture %}
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-04-09 15:33:44 +00:00
|
|
|
<div class="content">
|
|
|
|
<p>Use sections as <strong>direct</strong> children of <code>body</code>.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% highlight html %}{{ section_example }}{% endhighlight %}
|
2016-09-11 11:00:49 +00:00
|
|
|
|
2018-04-09 15:33:44 +00:00
|
|
|
<div class="content">
|
|
|
|
<p>You can use the modifiers <code>is-medium</code> and <code>is-large</code> to change the <strong>spacing</strong>.</p>
|
|
|
|
</div>
|
2017-10-02 18:23:35 +00:00
|
|
|
|
2018-04-09 21:25:26 +00:00
|
|
|
{% include elements/variables.html %}
|