From 49ebf542a29216c55d48306b58bd232506d67154 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 30 Mar 2013 00:19:05 -0700 Subject: reorder docs --- docs/docs.html | 338 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 173 insertions(+), 165 deletions(-) (limited to 'docs/docs.html') diff --git a/docs/docs.html b/docs/docs.html index f243c39de..1c3b2d434 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -2070,6 +2070,174 @@ For example, <section> should be wrapped as inline. + +
+ + +

Close icon

+

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

+
+

+
+{% highlight html linenos %} + +{% endhighlight %} + +

.pull-left

+

Float an element left

+{% highlight html linenos %} +
...
+{% endhighlight %} +{% highlight css linenos %} +.pull-left { + float: left; +} +{% endhighlight %} + +

.pull-right

+

Float an element right

+{% highlight html linenos %} +
...
+{% endhighlight %} +{% highlight css linenos %} +.pull-right { + float: right; +} +{% endhighlight %} + +

.clearfix

+

Clear the float on any element. Utilizes the micro clearfix as popularized by Nicolas Gallagher.

+{% highlight html linenos %} +
...
+{% endhighlight %} +{% highlight css linenos %} +// Mixin +.clearfix { + &:before, + &:after { + content: " "; + display: table; + } + &:after { + clear: both; + } +} + +// Usage +.element { + .clearfix(); +} +{% endhighlight %} +
+ + + +
+ +

For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.

+ +

Responsive classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClassPhones 767px and belowTablets 979px to 768pxDesktops Default
.visible-phoneVisible
.visible-tabletVisible
.visible-desktopVisible
.hidden-phoneVisibleVisible
.hidden-tabletVisibleVisible
.hidden-desktopVisibleVisible
+ +

Print classes

+ + + + + + + + + + + + + + + + + + + + +
ClassBrowserPrint
.visible-printVisible
.hidden-printVisible
+ +

When to use

+

Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.

+ +

Test case

+

Resize your browser or load on different devices to test the above classes.

+

Visible on...

+

Green checkmarks indicate that class is visible in your current viewport.

+ +

Hidden on...

+

Here, green checkmarks indicate that class is hidden in your current viewport.

+ + +
+ + @@ -2388,112 +2556,6 @@ For example, <section> should be wrapped as inline. - -
- -

For faster mobile-friendly development, use these utility classes for showing and hiding content by device via media query. Also included are utility classes for toggling content when printed.

- -

Responsive classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassPhones 767px and belowTablets 979px to 768pxDesktops Default
.visible-phoneVisible
.visible-tabletVisible
.visible-desktopVisible
.hidden-phoneVisibleVisible
.hidden-tabletVisibleVisible
.hidden-desktopVisibleVisible
- -

Print classes

- - - - - - - - - - - - - - - - - - - - -
ClassBrowserPrint
.visible-printVisible
.hidden-printVisible
- -

When to use

-

Use on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation. Responsive utilities should not be used with tables, and as such are not supported.

- -

Test case

-

Resize your browser or load on different devices to test the above classes.

-

Visible on...

-

Green checkmarks indicate that class is visible in your current viewport.

- -

Hidden on...

-

Here, green checkmarks indicate that class is hidden in your current viewport.

- - -
- - - - @@ -4317,14 +4379,14 @@ For example, <section> should be wrapped as inline. - -
+
-

Wells

+

Default well

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

@@ -4354,61 +4416,7 @@ For example, <section> should be wrapped as inline.
...
{% endhighlight %} - -

Close icon

-

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

-
-

-
-{% highlight html linenos %} - -{% endhighlight %} - -

Helper classes

-

Simple, focused classes for small display or behavior tweaks.

- -

.pull-left

-

Float an element left

-{% highlight html linenos %} -
...
-{% endhighlight %} -{% highlight css linenos %} -.pull-left { - float: left; -} -{% endhighlight %} - -

.pull-right

-

Float an element right

-{% highlight html linenos %} -
...
-{% endhighlight %} -{% highlight css linenos %} -.pull-right { - float: right; -} -{% endhighlight %} - -

.clearfix

-

Clear the float on any element. Utilizes the micro clearfix as popularized by Nicolas Gallagher.

-{% highlight html linenos %} -
...
-{% endhighlight %} -{% highlight css linenos %} -.clearfix { - &:before, - &:after { - content: " "; - display: table; - } - &:after { - clear: both; - } -} -{% endhighlight %} - - -
+ -- cgit v1.2.3