diff --git a/docs/css.html b/docs/css.html index 501c791df8..dd7654ad12 100644 --- a/docs/css.html +++ b/docs/css.html @@ -162,7 +162,7 @@ title: CSS

Emphasis

Make use of HTML's default emphasis tags with lightweight styles.

-

<small>

+

Small text

For de-emphasizing inline or blocks of text, use the small tag.

This line of text is meant to be treated as fine print.

@@ -225,8 +225,8 @@ title: CSS

Abbreviations

Stylized implementation of HTML's <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.

-

<abbr>

-

For expanded text on long hover of an abbreviation, include the title attribute.

+

Basic abbreviation

+

For expanded text on long hover of an abbreviation, include the title attribute with the <abbr> element.

An abbreviation of the word attribute is attr.

@@ -234,7 +234,7 @@ title: CSS attr {% endhighlight %} -

<abbr class="initialism">

+

Initialism

Add .initialism to an abbreviation for a slightly smaller font-size.

HTML is the best thing since sliced bread.

@@ -246,10 +246,7 @@ title: CSS

Addresses

-

Present contact information for the nearest ancestor or the entire body of work.

- -

<address>

-

Preserve formatting by ending all lines with <br>.

+

Present contact information for the nearest ancestor or the entire body of work. Preserve formatting by ending all lines with <br>.

Twitter, Inc.
@@ -656,8 +653,8 @@ For example, <section> should be wrapped as inline.

Optional classes

Add any of the following classes to the .table base class.

-

.table-striped

-

Adds zebra-striping to any table row within the <tbody> via the :nth-child CSS selector (not available in IE8).

+

Striped

+

Use .table-striped to add zebra-striping to any table row within the <tbody> via the :nth-child CSS selector (not available in IE8).

@@ -696,8 +693,8 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

.table-bordered

-

Add borders and rounded corners to the table.

+

Bordered

+

Add .table-bordered for borders and rounded corners.

@@ -740,8 +737,8 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

.table-hover

-

Enable a hover state on table rows within a <tbody>.

+

Hover rows

+

Add .table-hover to enable a hover state on table rows within a <tbody>.

@@ -780,8 +777,8 @@ For example, <section> should be wrapped as inline. {% endhighlight %} -

.table-condensed

-

Makes tables more compact by cutting cell padding in half.

+

Condensed

+

Add .table-condensed to make tables more compact by cutting cell padding in half.

@@ -1753,52 +1750,37 @@ For example, <section> should be wrapped as inline.

Default buttons

Button styles can be applied to anything with the .btn class applied. However, typically you'll want to apply these to only <a> and <button> elements for the best rendering.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Buttonclass=""Description
btnStandard gray button with gradient
btn btn-primaryProvides extra visual weight and identifies the primary action in a set of buttons
btn btn-successIndicates a successful or positive action
btn btn-infoContextual button for informational alert messages
btn btn-warningIndicates caution should be taken with this action
btn btn-dangerIndicates a dangerous or potentially negative action
btn btn-linkDeemphasize a button by making it look like a link while maintaining button behavior
+
+ + + + + + + +
+{% highlight html linenos %} + + + + + + + + + + + + + + + + + + + + +{% endhighlight %}

Cross browser compatibility

IE9 doesn't crop background gradients on rounded corners, so we remove it. Related, IE9 jankifies disabled button elements, rendering text gray with a nasty text-shadow that we cannot fix.