diff --git a/docs/css.html b/docs/css.html index 31e745378f..53cd678d03 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1603,7 +1603,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped

Form control states

Provide feedback to users or visitors with basic feedback states on form controls and labels.

-

Input focus

+

Input focus

We remove the default outline styles on some form controls and apply a box-shadow in its place for :focus.

@@ -1612,7 +1612,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."> -

Invalid inputs

+

Invalid inputs

Style inputs via default browser functionality with :invalid. Specify a type and add the required attribute.

@@ -1621,7 +1621,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="span3" type="email" required> -

Disabled inputs

+

Disabled inputs

Add the disabled attribute on an input to prevent user input and trigger a slightly different look.

@@ -1630,7 +1630,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here..." disabled> -

Disabled fieldsets

+

Disabled fieldsets

Add the disabled attribute to a <fieldset> to disable all the controls within the <fieldset> at once. Link buttons (with the <a> element) will be aesthetically disabled, but you will need custom JavaScript to disable their behavior.

@@ -1667,8 +1667,13 @@ For example, <code>&lt;section&gt;</code> should be wrapped </form> -

Validation states

-

Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding .control-group.

+

Validation states

+

Bootstrap includes validation styles for error, warning, info, and success messages. To use:

+ +

Validation styles are applied on a per-input basis. With horizontal forms, the <label class="control-label"> will always be styled.

diff --git a/docs/templates/pages/css.mustache b/docs/templates/pages/css.mustache index c82d48351d..47abef021d 100644 --- a/docs/templates/pages/css.mustache +++ b/docs/templates/pages/css.mustache @@ -1543,7 +1543,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped

Form control states

Provide feedback to users or visitors with basic feedback states on form controls and labels.

-

Input focus

+

Input focus

We remove the default outline styles on some form controls and apply a box-shadow in its place for :focus.

@@ -1552,7 +1552,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."> -

Invalid inputs

+

Invalid inputs

Style inputs via default browser functionality with :invalid. Specify a type and add the required attribute.

@@ -1561,7 +1561,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="span3" type="email" required> -

Disabled inputs

+

Disabled inputs

Add the disabled attribute on an input to prevent user input and trigger a slightly different look.

@@ -1570,7 +1570,7 @@ For example, <code>&lt;section&gt;</code> should be wrapped <input class="input-xlarge" id="disabledInput" type="text" placeholder="Disabled input here..." disabled> -

Disabled fieldsets

+

Disabled fieldsets

Add the disabled attribute to a <fieldset> to disable all the controls within the <fieldset> at once. Link buttons (with the <a> element) will be aesthetically disabled, but you will need custom JavaScript to disable their behavior.

@@ -1607,8 +1607,13 @@ For example, <code>&lt;section&gt;</code> should be wrapped </form> -

Validation states

-

Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding .control-group.

+

Validation states

+

Bootstrap includes validation styles for error, warning, info, and success messages. To use:

+
    +
  • Add .has-warning, .has-error, or .has-success to the parent element
  • +
  • Add .input-with-feedback to the field(s) in question
  • +
+

Validation styles are applied on a per-input basis. With horizontal forms, the <label class="control-label"> will always be styled.