From 611c666dbcbae64c233f0f335a09a2cee36c7132 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 3 Jun 2018 17:45:42 +0800 Subject: Update labels docs to Pug template --- docs/elements.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index f971860..ae803f4 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -1213,6 +1213,23 @@

Labels

+

Labels are formatted text tags for highlighted, informative information.

+
+
default labelprimary labelsecondary labelsuccess labelwarning labelerror label
+
+

Add the label class to <span> or <small> elements. + You can add another class label-primary, label-secondary, label-success, label-warning and label-error for colored labels. +

+
+
default labelprimary label
+
+

Add the label-rounded class to have rounded labels.

+
<!-- normal labels -->
+<span class="label">default label</span>
+<span class="label label-primary">primary label</span>
+
+<!-- rounded labels -->
+<span class="label label-rounded label-primary">primary label</span>

Codes

-- cgit v1.3.1-23-gd82d