mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
99 lines
3.2 KiB
HTML
99 lines
3.2 KiB
HTML
|
{% capture columns %}
|
||
|
<div class="columns">
|
||
|
<div class="column">1</div>
|
||
|
<div class="column">2</div>
|
||
|
<div class="column">3</div>
|
||
|
<div class="column">4</div>
|
||
|
<div class="column">5</div>
|
||
|
</div>
|
||
|
{% endcapture %}
|
||
|
|
||
|
<section class="section is-medium">
|
||
|
<div class="container">
|
||
|
<h3 class="title is-2">
|
||
|
<a href="{{ site.url }}/documentation/columns/basics">
|
||
|
Simple <strong>columns</strong>
|
||
|
</a>
|
||
|
</h3>
|
||
|
<h4 class="subtitle is-4">Just add columns, they will resize themselves</h4>
|
||
|
<div id="grid" class="columns">
|
||
|
<div class="column">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">1</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">2</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">3</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">4</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">5</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">6</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">7</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">8</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">9</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">10</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">11</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="column" style="display: none;">
|
||
|
<div class="notification is-primary has-text-centered">
|
||
|
<p class="title">12</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="field has-addons has-addons-centered">
|
||
|
<p class="control">
|
||
|
<a id="add" class="button is-unselectable">Add column</a>
|
||
|
</p>
|
||
|
<p class="control">
|
||
|
<a id="remove" class="button is-unselectable">Remove column</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
<div id="message" class="message is-info">
|
||
|
<p class="message-header">Info</p>
|
||
|
<p class="message-body">While it's possible to add as many columns as you want, it is recommended to stick with <strong>12 columns</strong>.<br>
|
||
|
If you want smaller divisions, you can always <strong>nest</strong> columns.</p>
|
||
|
</div>
|
||
|
<div id="markup">
|
||
|
{% highlight html %}{{ columns }}{% endhighlight %}
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|