mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +00:00
94 lines
4.0 KiB
HTML
94 lines
4.0 KiB
HTML
|
{% capture tiles %}
|
||
|
<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">
|
||
|
<!-- Any content you want here -->
|
||
|
</article>
|
||
|
<article class="tile is-child">
|
||
|
<!-- Any content you want here -->
|
||
|
</article>
|
||
|
</div>
|
||
|
<div class="tile is-parent">
|
||
|
<article class="tile is-child">
|
||
|
<!-- Any content you want here -->
|
||
|
</article>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tile is-parent">
|
||
|
<article class="tile is-child">
|
||
|
<!-- Any content you want here -->
|
||
|
</article>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="tile is-parent">
|
||
|
<article class="tile is-child">
|
||
|
<!-- Any content you want here -->
|
||
|
</article>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endcapture %}
|
||
|
|
||
|
<section class="section is-medium">
|
||
|
<div class="container">
|
||
|
<h3 class="title is-2">
|
||
|
<span class="icon is-medium">
|
||
|
<i class="fas fa-th-large"></i>
|
||
|
</span>
|
||
|
<a href="{{ site.url }}/documentation/layout/tiles">
|
||
|
Magic <strong>tiles</strong>
|
||
|
</a>
|
||
|
</h3>
|
||
|
<h4 class="subtitle is-4">A single element for a Metro UI-style CSS grid</h4>
|
||
|
<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 notification is-primary">
|
||
|
<p class="title">Vertical...</p>
|
||
|
<p class="subtitle">Top tile</p>
|
||
|
</article>
|
||
|
<article class="tile is-child notification is-warning">
|
||
|
<p class="title">...tiles</p>
|
||
|
<p class="subtitle">Bottom tile</p>
|
||
|
</article>
|
||
|
</div>
|
||
|
<div class="tile is-parent">
|
||
|
<article class="tile is-child notification is-info">
|
||
|
<p class="title">Middle tile</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 notification is-danger">
|
||
|
<p class="title">Wide tile</p>
|
||
|
<p class="subtitle">Aligned with the right tile</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 notification is-success">
|
||
|
<p class="title">Tall tile</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>
|
||
|
</article>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="highlight-full">
|
||
|
{% highlight html %}{{ tiles }}{% endhighlight %}
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|