1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Added specificity note to docs per issue #13332

This commit is contained in:
jackson 2014-04-16 11:29:36 -04:00
parent d08f7dd807
commit 1d77660c62

View file

@ -40,7 +40,10 @@
<p class="bg-warning">...</p> <p class="bg-warning">...</p>
<p class="bg-danger">...</p> <p class="bg-danger">...</p>
{% endhighlight %} {% 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> <h3 id="helper-classes-close">Close icon</h3>
<p>Use the generic close icon for dismissing content like modals and alerts.</p> <p>Use the generic close icon for dismissing content like modals and alerts.</p>