aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/css/helpers.html
diff options
context:
space:
mode:
authorjackson <[email protected]>2014-04-16 11:29:36 -0400
committerjackson <[email protected]>2014-04-16 11:29:36 -0400
commit1d77660c62f178407c3cd306cc745182de2abc03 (patch)
tree6ccf4e856b2b312d26462c274571d8ce58596c37 /docs/_includes/css/helpers.html
parentd08f7dd80711f6096f9d2f413ed2933f9d6dd2bf (diff)
downloadbootstrap-1d77660c62f178407c3cd306cc745182de2abc03.tar.xz
bootstrap-1d77660c62f178407c3cd306cc745182de2abc03.zip
Added specificity note to docs per issue #13332
Diffstat (limited to 'docs/_includes/css/helpers.html')
-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..7bb6cf82e 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 classeses 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>