From 348668ec13c534160e4560325a3b01e101cec704 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 4 Jun 2012 20:25:57 -0700 Subject: add misc helper classes to components css docs --- docs/components.html | 61 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 58 insertions(+), 3 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 500a72950..f923cd5e2 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1869,7 +1869,7 @@

Miscellaneous Lightweight utility components

-
+

Wells

Use the well as a simple effect on an element to give it an inset effect.

@@ -1892,14 +1892,69 @@ ... </div> -
-

Close icon

Use the generic close icon for dismissing content like modals and alerts.

<button class="close">&times;</button>

iOS devices require an href="#" for click events if you rather use an anchor.

<a class="close" href="#">&times;</a>
+ +

Helper classes

+

Simple, focused classes for small display or behavior tweaks.

+ +

.pull-left

+

Float an element left

+
+class="pull-left"
+
+
+.pull-left {
+  float: left;
+}
+
+ + +

.pull-right

+

Float an element right

+
+class="pull-right"
+
+
+.pull-right {
+  float: right;
+}
+
+ +

.muted

+

Change an element's color to #999

+
+class="muted"
+
+
+.muted {
+  color: #999;
+}
+
+ +

.clearfix

+

Clear the float on any element

+
+class="clearfix"
+
+
+.clearfix {
+  *zoom: 1;
+  &:before,
+  &:after {
+    display: table;
+    content: "";
+  }
+  &:after {
+    clear: both;
+  }
+}
+
+
-- cgit v1.2.3