]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added specificity note to docs per issue #13332
authorjackson <zohar.jackson@dynamicsresolved.com>
Wed, 16 Apr 2014 15:29:36 +0000 (11:29 -0400)
committerjackson <zohar.jackson@dynamicsresolved.com>
Wed, 16 Apr 2014 15:29:36 +0000 (11:29 -0400)
docs/_includes/css/helpers.html

index e787a3103ccd05059282d06dd5fb6cbd8dd091a1..7bb6cf82ecef0a4933fde0e4e5b31eed6221d7d0 100644 (file)
 <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>