From d01b4eb02560ba67b61b1b2c0496e9f8281c154d Mon Sep 17 00:00:00 2001 From: m5o Date: Wed, 14 Mar 2018 16:44:38 +0100 Subject: Remove custom example plugin. (#25784) --- docs/4.0/components/progress.md | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) (limited to 'docs/4.0/components/progress.md') diff --git a/docs/4.0/components/progress.md b/docs/4.0/components/progress.md index 95de22ba2..e342b06d9 100644 --- a/docs/4.0/components/progress.md +++ b/docs/4.0/components/progress.md @@ -17,7 +17,7 @@ Progress components are built with two HTML elements, some CSS to set the width, Put that all together, and you have the following examples. -{% example html %} +{% capture example %}
@@ -33,44 +33,48 @@ Put that all together, and you have the following examples.
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} Bootstrap provides a handful of [utilities for setting width]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/sizing/). Depending on your needs, these may help with quickly configuring progress. -{% example html %} +{% capture example %}
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Labels Add labels to your progress bars by placing text within the `.progress-bar`. -{% example html %} +{% capture example %}
25%
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Height We only set a `height` value on the `.progress`, so if you change that value the inner `.progress-bar` will automatically resize accordingly. -{% example html %} +{% capture example %}
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Backgrounds Use background utility classes to change the appearance of individual progress bars. -{% example html %} +{% capture example %}
@@ -83,25 +87,27 @@ Use background utility classes to change the appearance of individual progress b
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Multiple bars Include multiple progress bars in a progress component if you need. -{% example html %} +{% capture example %}
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Striped Add `.progress-bar-striped` to any `.progress-bar` to apply a stripe via CSS gradient over the progress bar's background color. -{% example html %} +{% capture example %}
@@ -117,7 +123,8 @@ Add `.progress-bar-striped` to any `.progress-bar` to apply a stripe via CSS gra
-{% endexample %} +{% endcapture %} +{% include example.html content=example %} ## Animated stripes -- cgit v1.2.3