forked from jgthms/bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection.html
More file actions
59 lines (49 loc) · 1.7 KB
/
Copy pathsection.html
File metadata and controls
59 lines (49 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: Section
layout: documentation
fullwidth: true
doc-tab: layout
doc-subtab: section
breadcrumb:
- home
- documentation
- layout
- layout-section
---
{% capture section_example %}
<section class="section">
<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>
</section>
{% endcapture %}
{% capture section_medium_example %}
<section class="section is-medium">
<h1 class="title">Medium section</h1>
<h2 class="subtitle">
A simple container to divide your page into <strong>sections</strong>, like the one you're currently reading.
</h2>
</section>
{% endcapture %}
{% capture section_large_example %}
<section class="section is-large">
<h1 class="title">Large section</h1>
<h2 class="subtitle">
A simple container to divide your page into <strong>sections</strong>, like the one you're currently reading.
</h2>
</section>
{% endcapture %}
<div class="content">
<p>
The <code>section</code> components are simple layout elements with responsive padding. They are best used as <strong>direct</strong> children of <code>body</code>.
</p>
</div>
{% include elements/snippet.html content=section_example horizontal=true fullwidth=true %}
{% include elements/anchor.html name="Sizes" %}
<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>
{% include elements/snippet.html content=section_medium_example horizontal=true fullwidth=true %}
{% include elements/snippet.html content=section_large_example horizontal=true fullwidth=true %}
{% include components/variables.html %}