aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-04-17 18:29:14 -0700
committerChris Rebert <[email protected]>2014-04-17 18:29:14 -0700
commit99b5405c7f58aa7cc0b45c72785310c5afb7273b (patch)
tree984c69471b617c6554cc20789ff4e666dbde139a /docs/_includes/css
parentc8a8e768510cc1bd9e72d5cade23fba715efb59f (diff)
parentca45998fc9ac6ea2d83c32dfe590d2f76d37db0d (diff)
downloadbootstrap-99b5405c7f58aa7cc0b45c72785310c5afb7273b.tar.xz
bootstrap-99b5405c7f58aa7cc0b45c72785310c5afb7273b.zip
Merge pull request #13358 from Jakobovski/docs-improvements-#13332
Added specificity note to docs per issue #13332
Diffstat (limited to 'docs/_includes/css')
-rw-r--r--docs/_includes/css/helpers.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html
index e787a3103..a76704673 100644
--- a/docs/_includes/css/helpers.html
+++ b/docs/_includes/css/helpers.html
@@ -40,7 +40,10 @@
<p class="bg-warning">...</p>
<p class="bg-danger">...</p>
{% endhighlight %}
-
+ <div class="bs-callout bs-callout-info">
+ <h4>Dealing with specificity</h4>
+ <p>Sometimes contextual background classes cannot be applied due to the specificity of another selector. In some cases, a sufficient workaround is to wrap your element's content in a <code>&lt;div&gt;</code> with the class.</p>
+ </div>
<h3 id="helper-classes-close">Close icon</h3>
<p>Use the generic close icon for dismissing content like modals and alerts.</p>