0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Merge pull request #17336 from petetnt/petetnt/v4-dev-patch-3

Document utility class .bg-inverse
This commit is contained in:
Mark Otto 2015-09-01 20:17:09 -07:00
commit 0537c5a455
2 changed files with 3 additions and 1 deletions

View File

@ -293,7 +293,8 @@
.bg-success,
.bg-info,
.bg-warning,
.bg-danger {
.bg-danger,
.bg-inverse {
&:not(.navbar) {
padding: .5rem;
margin-top: .5rem;

View File

@ -132,6 +132,7 @@ Similar to the contextual text color classes, easily set the background of an el
<div class="bg-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</div>
<div class="bg-warning">Etiam porta sem malesuada magna mollis euismod.</div>
<div class="bg-danger">Donec ullamcorper nulla non metus auctor fringilla.</div>
<div class="bg-inverse">Cras mattis consectetur purus sit amet fermentum.</div>
{% endexample %}
{% callout info %}