From 23ef8c0c209844dd8b92d2a5ac82daffa7bd2914 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 3 Aug 2013 21:39:57 -0700 Subject: Greater standardization of sizing terminology In class names: * large => lg * small => sm * mini => xs ("Extra small") In screen size categories: * Tiny => Extra small --- css.html | 76 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'css.html') diff --git a/css.html b/css.html index 3254f84b2..38433ee5a 100644 --- a/css.html +++ b/css.html @@ -69,7 +69,7 @@ base_url: "../"

With the launch of Bootstrap 3, icons have been moved to a separate repository. This keeps the primary project as lean as possible, makes it easier for folks to swap icon libraries, and makes Glyphicons icon fonts more readily available to more people outside Bootstrap.

- Visit Glyphicons for Bootstrap or download from GitHub + Visit Glyphicons for Bootstrap or download from GitHub

@@ -91,7 +91,7 @@ base_url: "../" - Tiny devices + Extra small devices Phones (<768px) @@ -1585,35 +1585,35 @@ For example, <section> should be wrapped as inline.

Control sizing

-

Set heights using classes like .input-large, and set widths using grid column classes like .col-lg-*.

+

Set heights using classes like .input-lg, and set widths using grid column classes like .col-lg-*.

Height sizing

Create larger or smaller form controls that match button sizes.

- + - + - + - +
{% highlight html %} - + - + - + - + {% endhighlight %}

Column sizing

@@ -1701,54 +1701,54 @@ For example, <section> should be wrapped as inline. {% endhighlight %}

Button sizes

-

Fancy larger or smaller buttons? Add .btn-large or .btn-small for additional sizes.

+

Fancy larger or smaller buttons? Add .btn-lg or .btn-sm for additional sizes.

- - + +

- - + +

- - + +

{% highlight html %}

- - + +

- - + +

- - + +

{% endhighlight %}

Create block level buttons—those that span the full width of a parent— by adding .btn-block.

- - + +
{% highlight html %} - - + + {% endhighlight %} @@ -1758,12 +1758,12 @@ For example, <section> should be wrapped as inline.

Button element

Add the disabled attribute to <button> buttons.

- - + +

{% highlight html %} - - + + {% endhighlight %}
@@ -1774,12 +1774,12 @@ For example, <section> should be wrapped as inline.

Anchor element

Add the .disabled class to <a> buttons.

- Primary link - Link + Primary link + Link

{% highlight html %} -Primary link -Link +Primary link +Link {% endhighlight %}

We use .disabled as a utility class here, similar to the common .active class, so no prefix is required. -- cgit v1.2.3