From 0d869a10630d36be9277c4eac3db9b1d81b1356f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 11 Sep 2018 06:37:11 +0300 Subject: Remove background-colors example and show only the code. This is to avoid confusion. --- site/docs/4.1/utilities/colors.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'site/docs') diff --git a/site/docs/4.1/utilities/colors.md b/site/docs/4.1/utilities/colors.md index 573782644..dbc3e6c18 100644 --- a/site/docs/4.1/utilities/colors.md +++ b/site/docs/4.1/utilities/colors.md @@ -43,13 +43,10 @@ Similar to the contextual text color classes, easily set the background of an el ## Background gradient -When `$enable-gradients` is set to true, you'll be able to use `.bg-gradient-` utility classes. **By default, `$enable-gradients` is disabled and the example below is intentionally broken.** This is done for easier customization from the moment you start using Bootstrap. [Learn about our Sass options]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/theming/#sass-options) to enable these classes and more. +When `$enable-gradients` is set to true, you'll be able to use `.bg-gradient-` utility classes. This is done for easier customization from the moment you start using Bootstrap. [Learn about our Sass options]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/theming/#sass-options) to enable these classes and more. -{% capture example %} {% for color in site.data.theme-colors %} -
.bg-gradient-{{ color.name }}
{% endfor %} -{% endcapture %} -{% include example.html content=example %} +- `.bg-gradient-{{ color.name }}`{% endfor %} {% capture callout %} #### Dealing with specificity -- cgit v1.2.3 From 301a22b1642f679b8b911096d2ca076ec1431d73 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 16 Sep 2018 13:47:48 -0700 Subject: Update copy --- site/docs/4.1/utilities/colors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/docs') diff --git a/site/docs/4.1/utilities/colors.md b/site/docs/4.1/utilities/colors.md index dbc3e6c18..55699adb8 100644 --- a/site/docs/4.1/utilities/colors.md +++ b/site/docs/4.1/utilities/colors.md @@ -43,7 +43,7 @@ Similar to the contextual text color classes, easily set the background of an el ## Background gradient -When `$enable-gradients` is set to true, you'll be able to use `.bg-gradient-` utility classes. This is done for easier customization from the moment you start using Bootstrap. [Learn about our Sass options]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/theming/#sass-options) to enable these classes and more. +When `$enable-gradients` is set to `true` (default is `false`), you can use `.bg-gradient-` utility classes. [Learn about our Sass options]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/theming/#sass-options) to enable these classes and more. {% for color in site.data.theme-colors %} - `.bg-gradient-{{ color.name }}`{% endfor %} -- cgit v1.2.3