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:
parent
d08f7dd807
commit
1d77660c62
1 changed files with 4 additions and 1 deletions
|
@ -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><div></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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue