<p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>
{% endexample %}
<divclass="bs-example">
<spanclass="label label-default">Default</span>
### Contextual variations
<spanclass="label label-primary">Primary</span>
<spanclass="label label-success">Success</span>
Add any of the below mentioned modifier classes to change the appearance of a label.
<spanclass="label label-info">Info</span>
<spanclass="label label-warning">Warning</span>
{% example html %}
<spanclass="label label-danger">Danger</span>
</div>
{% highlight html %}
<spanclass="label label-default">Default</span>
<spanclass="label label-default">Default</span>
<spanclass="label label-primary">Primary</span>
<spanclass="label label-primary">Primary</span>
<spanclass="label label-success">Success</span>
<spanclass="label label-success">Success</span>
<spanclass="label label-info">Info</span>
<spanclass="label label-info">Info</span>
<spanclass="label label-warning">Warning</span>
<spanclass="label label-warning">Warning</span>
<spanclass="label label-danger">Danger</span>
<spanclass="label label-danger">Danger</span>
{% endhighlight %}
{% endexample %}
<divclass="bs-callout bs-callout-info">
<divclass="bs-callout bs-callout-info">
<h4>Have tons of labels?</h4>
<h4>Have tons of labels?</h4>
<p>Rendering problems can arise when you have dozens of inline labels within a narrow container, each containing its own <code>inline-block</code> element (like an icon). The way around this is setting <code>display: inline-block;</code>. For context and an example, <ahref="https://github.com/twbs/bootstrap/issues/13219">see #13219</a>.</p>
<p>Rendering problems can arise when you have dozens of inline labels within a narrow container, each containing its own <code>inline-block</code> element (like an icon). The way around this is setting <code>display: inline-block;</code>. For context and an example, <ahref="https://github.com/twbs/bootstrap/issues/13219">see #13219</a>.</p>