mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
Remove custom example plugin. (#25784)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user