From d30f47efb2580b0f435128940b48d5e5d30ca529 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 19 Jan 2013 18:53:41 -0800 Subject: Tighten up badges docs; less bottom margin on h3 --- docs/components.html | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 6710e8338..b88e54b88 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1342,13 +1342,49 @@

Counters

+

Basic usage

+

Counters are used to indicator unread or new items. Add a <span class="counter"> to links, Bootstrap navs, and more.

Inbox 42
-
 <a href="#">Inbox</a> <span class="counter">42</span>
 
+ +

Built-in styles are included for placing counters in active states in pill and list navigations.

+
+ +
+ +
+
+<ul class="nav nav-list">
+  <li class="active">
+    <a href="#">Home</a>
+  </li>
+  <li><a href="#">...</a></li>
+  <li><a href="#">...</a></li>
+</ul>
+
+

Easily collapsible

For easy implementation, counters will simply collapse (via CSS's :empty selector) when no content exists within.

-- cgit v1.2.3