mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add spacing helpers examples
This commit is contained in:
parent
4125514819
commit
0430053231
@ -62,7 +62,7 @@ customValues:
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
You need to <strong>combine</strong> a margin/padding prefix with a direciton suffix. For example:
|
You need to <strong>combine</strong> a margin/padding prefix with a direction suffix. For example:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@ -107,6 +107,29 @@ customValues:
|
|||||||
vertical=page.vertical
|
vertical=page.vertical
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<p>
|
||||||
|
To use these classes, simply append them to any HTML element:
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% highlight html %}
|
||||||
|
<!-- Adds 1rem of margin at the bottom -->
|
||||||
|
<p class="mb-4">
|
||||||
|
Margin bottom
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Adds 0.25rem of padding on the left and the right -->
|
||||||
|
<p class="px-1">
|
||||||
|
Horizontal padding
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- Removes the margin on the right and adds 0.75rem padding at the top -->
|
||||||
|
<p class="mr-0 pt-3">
|
||||||
|
Both
|
||||||
|
</p>
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
{% include elements/anchor.html name="Configuration" %}
|
{% include elements/anchor.html name="Configuration" %}
|
||||||
|
|
||||||
{% capture custom %}
|
{% capture custom %}
|
||||||
|
Loading…
Reference in New Issue
Block a user