aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-05 00:45:41 -0700
committerMark Otto <[email protected]>2015-08-05 00:45:41 -0700
commit9330c4a947f023a4524b3e884be1d11ccef09cd7 (patch)
treeb4a7996ac567bcbb7d871a37dd551591f12aca5d /docs/components
parentd80f26fe491d21a35b09894932806fc027de329a (diff)
downloadbootstrap-9330c4a947f023a4524b3e884be1d11ccef09cd7.tar.xz
bootstrap-9330c4a947f023a4524b3e884be1d11ccef09cd7.zip
Run just as fast as I can
To the middle of nowhere To the middle of my frustrated fears And I swear you're just like a pill Instead of makin' me better, You keep makin' me ill You keep makin' me ill adds .label-pill to replace .badge
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/label.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/components/label.md b/docs/components/label.md
index e3c03bb93..e5937fcd6 100644
--- a/docs/components/label.md
+++ b/docs/components/label.md
@@ -30,3 +30,16 @@ Add any of the below mentioned modifier classes to change the appearance of a la
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>
{% endexample %}
+
+### Pill labels
+
+Use the `.label-pill` modifier class to increase the rounded corners. Useful if you miss the badges from v3.
+
+{% example html %}
+<span class="label label-pill label-default">Default</span>
+<span class="label label-pill label-primary">Primary</span>
+<span class="label label-pill label-success">Success</span>
+<span class="label label-pill label-info">Info</span>
+<span class="label label-pill label-warning">Warning</span>
+<span class="label label-pill label-danger">Danger</span>
+{% endexample %}