mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
782 lines
32 KiB
HTML
782 lines
32 KiB
HTML
---
|
|
layout: default
|
|
route: tiles
|
|
---
|
|
|
|
<section class="section">
|
|
<div class="container">
|
|
<h1 class="title">Tiles</h1>
|
|
<h2 class="subtitle">A <strong>single tile</strong> element to build 2-dimensional Metro-like, Pinterest-like, or whatever-you-like grids</h2>
|
|
|
|
<div class="content">
|
|
<p>To build intricate 2-dimensional, you only need a <strong>single element</strong>: the <code>tile</code>:</p>
|
|
</div>
|
|
|
|
{% highlight html %}
|
|
<div class="tile">
|
|
<!-- The magical tile element! -->
|
|
</div>
|
|
{% endhighlight %}
|
|
|
|
<div class="content">
|
|
<p>The <code>tile</code> element has <strong>16 modifiers</strong>:</p>
|
|
<ul>
|
|
<li>
|
|
<strong>3 contextual</strong> modifiers
|
|
<ul>
|
|
<li><code>is-ancestor</code></li>
|
|
<li><code>is-parent</code></li>
|
|
<li><code>is-child</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<strong>1 directional</strong> modifier
|
|
<ul>
|
|
<li><code>is-vertical</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<strong>12 horizontal size</strong> modifiers
|
|
<ul>
|
|
<li>from <code>is-1</code></li>
|
|
<li>to <code>is-12</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
{% include anchor.html name="How it works: Nesting" %}
|
|
|
|
<div class="content">
|
|
<p>Everything is a tile! To create a grid of tiles, you only need to <strong>nest</strong> <code>tile</code> elements.</p>
|
|
</div>
|
|
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<p>Start with an <strong>ancestor</strong> tile that will wrap all other tiles:</p>
|
|
</div>
|
|
<div class="column is-two-thirds">
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<!-- All other tile elemnts -->
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<p>Add tile elements that will distribute themselves <strong>horizontally</strong>:</p>
|
|
</div>
|
|
<div class="column is-two-thirds">
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile">
|
|
<!-- Add content or other tiles -->
|
|
</div>
|
|
<div class="tile">
|
|
<!-- Add content or other tiles -->
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<p>
|
|
You can <strong>resize</strong> any tile according to a <strong>12 column</strong> grid.
|
|
<br>
|
|
For example, <code>is-4</code> will take up 2/3 of the horizontal space:
|
|
</p>
|
|
</div>
|
|
<div class="column is-two-thirds">
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-4">
|
|
<!-- 1/3 -->
|
|
</div>
|
|
<div class="tile">
|
|
<!-- This tile will take the rest: 2/3 -->
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<p>If you want to stack tiles <strong>vertically</strong>, add <code>is-vertical</code> on the parent tile:</p>
|
|
</div>
|
|
<div class="column is-two-thirds">
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-4 is-vertical">
|
|
<div class="tile">
|
|
<!-- Top tile -->
|
|
</div>
|
|
<div class="tile">
|
|
<!-- Bottom tile -->
|
|
</div>
|
|
</div>
|
|
<div class="tile">
|
|
<!-- This tile will take up the whole vertical space -->
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="columns">
|
|
<div class="column is-one-third">
|
|
<div class="content">
|
|
<p>As soon as you want to add <strong>content</strong> to a tile, just:</p>
|
|
<ul>
|
|
<li>add <em>any</em> class you want, like <code>box</code></li>
|
|
<li>add the <code>is-child</code> modifier on the tile</li>
|
|
<li>add the <code>is-parent</code> modifier on the <em>parent</em> tile</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="column is-two-thirds">
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-4 is-vertical is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">One</p>
|
|
</div>
|
|
<div class="tile is-child box">
|
|
<p class="title">Two</p>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">Three</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-4 is-vertical is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">One</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
<div class="tile is-child box">
|
|
<p class="title">Two</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">Three</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Suspendisse varius ligula in molestie lacinia. Maecenas varius eget ligula a sagittis. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Aenean vitae gravida diam, finibus dignissim turpis. Sed eget varius ligula, at volutpat tortor.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-4 is-vertical is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">One</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
<div class="tile is-child box">
|
|
<p class="title">Two</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<div class="tile is-child box">
|
|
<p class="title">Three</p>
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Suspendisse varius ligula in molestie lacinia. Maecenas varius eget ligula a sagittis. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Aenean vitae gravida diam, finibus dignissim turpis. Sed eget varius ligula, at volutpat tortor.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
|
|
{% include anchor.html name="Nesting requirements" %}
|
|
|
|
<article class="message is-danger">
|
|
<div class="message-header">
|
|
3 levels deep at least...
|
|
</div>
|
|
<div class="message-body">
|
|
<div class="content">
|
|
<p>You need at least <strong>3 levels</strong> of hierarchy:</p>
|
|
{% highlight markdown %}
|
|
tile is-ancestor
|
|
|
|
|
└───tile is-parent
|
|
|
|
|
└───tile is-child
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="message is-success">
|
|
<div class="message-header">
|
|
...but more levels if you want!
|
|
</div>
|
|
<div class="message-body">
|
|
<div class="content">
|
|
<p>You can however nest tiles more deeply than that, and mix it up!</p>
|
|
{% highlight markdown %}
|
|
tile is-ancestor
|
|
|
|
|
├───tile is-vertical is-8
|
|
| |
|
|
| ├───tile
|
|
| | |
|
|
| | ├───tile is-parent is-vertical
|
|
| | | ├───tile is-child
|
|
| | | └───tile is-child
|
|
| | |
|
|
| | └───tile is-parent
|
|
| | └───tile is-child
|
|
| |
|
|
| └───tile is-parent
|
|
| └───tile is-child
|
|
|
|
|
└───tile is-parent
|
|
└───tile is-child
|
|
{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-8">
|
|
<div class="tile">
|
|
<div class="tile is-parent is-vertical">
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Top box</p>
|
|
</article>
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Bottom box</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Middle box</p>
|
|
<p class="subtitle">With an image</p>
|
|
<figure class="image is-4by3">
|
|
<img src="{{site.url}}/images/placeholders/640x480.png">
|
|
</figure>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Wide column</p>
|
|
<p class="subtitle">Aligned with the right column</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<div class="content">
|
|
<p class="title">Tall column</p>
|
|
<p class="subtitle">With even more content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Suspendisse varius ligula in molestie lacinia. Maecenas varius eget ligula a sagittis. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Aenean vitae gravida diam, finibus dignissim turpis. Sed eget varius ligula, at volutpat tortor.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-8">
|
|
<div class="tile">
|
|
<div class="tile is-parent is-vertical">
|
|
<article class="tile is-child box">
|
|
<!-- Put any content you want -->
|
|
</article>
|
|
<article class="tile is-child box">
|
|
<!-- Put any content you want -->
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<!-- Put any content you want -->
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<!-- Put any content you want -->
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<!-- Put any content you want -->
|
|
</article>
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
|
|
{% include anchor.html name="3 columns" %}
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Hello World</p>
|
|
<p class="subtitle">What is up?</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Foo</p>
|
|
<p class="subtitle">Bar</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Third column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-8">
|
|
<div class="tile">
|
|
<div class="tile is-parent is-vertical">
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Top box</p>
|
|
</article>
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Bottom box</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Middle box</p>
|
|
<p class="subtitle">With an image</p>
|
|
<figure class="image is-4by3">
|
|
<img src="{{site.url}}/images/placeholders/640x480.png">
|
|
</figure>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Wide column</p>
|
|
<p class="subtitle">Aligned with the right column</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<div class="content">
|
|
<p class="title">Tall column</p>
|
|
<p class="subtitle">With even more content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Suspendisse varius ligula in molestie lacinia. Maecenas varius eget ligula a sagittis. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Aenean vitae gravida diam, finibus dignissim turpis. Sed eget varius ligula, at volutpat tortor.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Side column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent is-8">
|
|
<article class="tile is-child box">
|
|
<p class="title">Main column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Hello World</p>
|
|
<p class="subtitle">What is up?</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Foo</p>
|
|
<p class="subtitle">Bar</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Third column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-8">
|
|
<div class="tile">
|
|
<div class="tile is-parent is-vertical">
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Top box</p>
|
|
</article>
|
|
<article class="tile is-child box">
|
|
<p class="title">Vertical tiles</p>
|
|
<p class="subtitle">Bottom box</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Middle box</p>
|
|
<p class="subtitle">With an image</p>
|
|
<figure class="image is-4by3">
|
|
<img src="{{site.url}}/images/placeholders/640x480.png">
|
|
</figure>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Wide column</p>
|
|
<p class="subtitle">Aligned with the right column</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<div class="content">
|
|
<p class="title">Tall column</p>
|
|
<p class="subtitle">With even more content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Suspendisse varius ligula in molestie lacinia. Maecenas varius eget ligula a sagittis. Pellentesque interdum, nisl nec interdum maximus, augue diam porttitor lorem, et sollicitudin felis neque sit amet erat. Maecenas imperdiet felis nisi, fringilla luctus felis hendrerit sit amet. Aenean vitae gravida diam, finibus dignissim turpis. Sed eget varius ligula, at volutpat tortor.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Side column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent is-8">
|
|
<article class="tile is-child box">
|
|
<p class="title">Main column</p>
|
|
<p class="subtitle">With some content</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
|
|
{% include anchor.html name="4 columns" %}
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">One</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Two</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Three</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Four</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-9">
|
|
<div class="tile">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Five</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-8 is-vertical">
|
|
<div class="tile">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Six</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Seven</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Eight</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tile">
|
|
<div class="tile is-8 is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Nine</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Ten</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<div class="content">
|
|
<p class="title">Eleven</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Twelve</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent is-6">
|
|
<article class="tile is-child box">
|
|
<p class="title">Thirteen</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Fourteen</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
{% highlight html %}
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">One</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Two</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Three</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Four</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-vertical is-9">
|
|
<div class="tile">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Five</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-8 is-vertical">
|
|
<div class="tile">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Six</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Seven</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Eight</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tile">
|
|
<div class="tile is-8 is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Nine</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Ten</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<div class="content">
|
|
<p class="title">Eleven</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit. Vestibulum volutpat tellus diam, consequat gravida libero rhoncus ut. Morbi maximus, leo sit amet vehicula eleifend, nunc dui porta orci, quis semper odio felis ut quam.</p>
|
|
<p>Integer sollicitudin, tortor a mattis commodo, velit urna rhoncus erat, vitae congue lectus dolor consequat libero. Donec leo ligula, maximus et pellentesque sed, gravida a metus. Cras ullamcorper a nunc ac porta. Aliquam ut aliquet lacus, quis faucibus libero. Quisque non semper leo.</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tile is-ancestor">
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Twelve</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent is-6">
|
|
<article class="tile is-child box">
|
|
<p class="title">Thirteen</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="tile is-parent">
|
|
<article class="tile is-child box">
|
|
<p class="title">Fourteen</p>
|
|
<p class="subtitle">Subtitle</p>
|
|
<div class="content">
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut.</p>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
{% endhighlight %}
|
|
</div>
|
|
</section>
|