diff options
| author | Chris Rebert <[email protected]> | 2014-04-17 18:29:14 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-04-17 18:29:14 -0700 |
| commit | 99b5405c7f58aa7cc0b45c72785310c5afb7273b (patch) | |
| tree | 984c69471b617c6554cc20789ff4e666dbde139a /docs/_includes/css | |
| parent | c8a8e768510cc1bd9e72d5cade23fba715efb59f (diff) | |
| parent | ca45998fc9ac6ea2d83c32dfe590d2f76d37db0d (diff) | |
| download | bootstrap-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.html | 5 |
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><div></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> |
