mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
43 lines
1.0 KiB
HTML
43 lines
1.0 KiB
HTML
|
---
|
||
|
layout: documentation
|
||
|
doc-tab: layout
|
||
|
doc-subtab: section
|
||
|
---
|
||
|
|
||
|
{% include subnav-layout.html %}
|
||
|
|
||
|
<section class="section">
|
||
|
<div class="container">
|
||
|
<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>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
<div class="content">
|
||
|
<p>Use sections as <strong>direct</strong> children of <code>body</code>.</p>
|
||
|
</div>
|
||
|
|
||
|
{% highlight html %}
|
||
|
<body>
|
||
|
<section class="section">
|
||
|
<div class="container">
|
||
|
<div class="heading">
|
||
|
<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>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
</body>
|
||
|
{% endhighlight %}
|
||
|
|
||
|
<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>
|
||
|
|
||
|
</div>
|
||
|
</section>
|