From bcd9294cc43dcf712314fa3633531812cad39adb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 5 Mar 2012 23:00:37 -0800 Subject: clearing up progress bar docs and resetting the striped one to match default bar (blue instead of green) --- docs/components.html | 54 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 17 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 857a28c5f..bb3d4c05c 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1730,12 +1730,11 @@

Striped

Uses a gradient to create a striped effect.

-
+
-<div class="progress progress-info
-     progress-striped">
+<div class="progress progress-striped">
   <div class="bar"
        style="width: 20%;"></div>
 </div>
@@ -1744,12 +1743,12 @@
     

Animated

Takes the striped example and animates it.

-
+
-<div class="progress progress-danger
-     progress-striped active">
+<div class="progress progress-striped
+     active">
   <div class="bar"
        style="width: 40%;"></div>
 </div>
@@ -1759,23 +1758,44 @@
 
   

Options and browser support

-
+

Additional colors

-

Progress bars utilize some of the same class names as buttons and alerts for similar styling.

-
    -
  • .progress-info
  • -
  • .progress-success
  • -
  • .progress-warning
  • -
  • .progress-danger
  • -
-

Alternatively, you can customize the LESS files and roll your own colors and sizes.

+

Progress bars use some of the same button and alert classes for consistent styles.

+
+
+
+
+
+
+
+
+
+
+
+
-
+
+

Striped bars

+

Similar to the solid colors, we have varied striped progress bars.

+
+
+
+
+
+
+
+
+
+
+
+
+
+

Behavior

Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

If you use the .active class, your .progress-striped progress bars will animate the stripes left to right.

-
+

Browser support

Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-8 or older versions of Firefox.

Opera does not support animations at this time.

-- cgit v1.2.3