diff options
| author | m5o <[email protected]> | 2018-03-14 16:44:38 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-03-14 17:44:38 +0200 |
| commit | d01b4eb02560ba67b61b1b2c0496e9f8281c154d (patch) | |
| tree | 9c32c81f44be15d729fc8351360921aa1b42e572 /docs/4.0/utilities/float.md | |
| parent | 03b7f52e820c80e244479c59c0920c541ee1277b (diff) | |
| download | bootstrap-d01b4eb02560ba67b61b1b2c0496e9f8281c154d.tar.xz bootstrap-d01b4eb02560ba67b61b1b2c0496e9f8281c154d.zip | |
Remove custom example plugin. (#25784)
Diffstat (limited to 'docs/4.0/utilities/float.md')
| -rw-r--r-- | docs/4.0/utilities/float.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/4.0/utilities/float.md b/docs/4.0/utilities/float.md index 18c6b3951..4c1d51c50 100644 --- a/docs/4.0/utilities/float.md +++ b/docs/4.0/utilities/float.md @@ -14,11 +14,12 @@ These utility classes float an element to the left or right, or disable floating Toggle a float with a class: -{% example html %} +{% capture example %} <div class="float-left">Float left on all viewport sizes</div><br> <div class="float-right">Float right on all viewport sizes</div><br> <div class="float-none">Don't float on all viewport sizes</div> -{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Mixins @@ -40,12 +41,13 @@ Or by Sass mixin: Responsive variations also exist for each `float` value. -{% example html %} +{% capture example %} <div class="float-sm-left">Float left on viewports sized SM (small) or wider</div><br> <div class="float-md-left">Float left on viewports sized MD (medium) or wider</div><br> <div class="float-lg-left">Float left on viewports sized LG (large) or wider</div><br> <div class="float-xl-left">Float left on viewports sized XL (extra-large) or wider</div><br> -{% endexample %} +{% endcapture %} +{% include example.html content=example %} Here are all the support classes; |
