mirror of
https://github.com/jgthms/bulma.git
synced 2024-12-12 13:28:30 +00:00
08ef4df2c0
* Add Bulma v9 * Add vendor dependencies * Fix native * Fix sponsors * Add style attribute
40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
<div class="
|
|
bd-snippet
|
|
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
|
|
{% if include.fullwidth %}bd-is-fullwidth{% endif %}
|
|
{% if include.clipped %}bd-is-clipped{% endif %}
|
|
{% if include.size %}bd-is-size-{{ include.size }}{% endif %}
|
|
">
|
|
<div class="bd-snippet-example">
|
|
<p class="bd-snippet-title">
|
|
<span class="bd-snippet-tag bd-is-example">Example</span>
|
|
</p>
|
|
|
|
<div class="bd-snippet-preview">
|
|
{% if include.wrapper %}
|
|
<div class="{{ include.wrapper }}">
|
|
{{ include.content }}
|
|
</div>
|
|
{% else %}
|
|
{{ include.content }}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bd-snippet-source">
|
|
<p class="bd-snippet-title">
|
|
<span class="bd-snippet-tag bd-is-html">HTML</span>
|
|
</p>
|
|
|
|
<div
|
|
class="
|
|
bd-snippet-code
|
|
{% unless include.clipped %}bd-highlight-full{% endunless %}
|
|
{% if include.more %}bd-is-more bd-is-more-clipped{% endif %}
|
|
"
|
|
>
|
|
{% highlight html %}{{ include.content }}{% endhighlight %}
|
|
</div>
|
|
</div>
|
|
</div>
|