Vertical Forms

Individual form controls automatically receive some global styling. All textual <input>, <textarea>, and <select>elements with .form-controlare set to width: 100%;by default. Wrap labels and controls in .form-groupfor optimum spacing.

A block of help text that breaks onto a new line and may extend beyond one line.

Example block-level help text here.

Horizontal Forms

Use Bootstrap's predefined grid classes to align labels and groups of form controls in a horizontal layout by adding .form-horizontalto the form (which doesn't have to be a <form>). Doing so changes .form-groups to behave as grid rows, so no need for .row.

A block of help text that breaks onto a new line and may extend beyond one line.

Example block-level help text here.

Disable Forms

Add the disabledboolean attribute on an input to prevent user interactions. Disabled inputs appear lighter and add a not-allowedcursor.

Inline Forms

Add .form-inlineto your form (which doesn't have to be a <form>) for left-aligned and inline-block controls.

$
.00

Control sizing

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

Basic Validation states

Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add .has-warning, .has-error, or .has-successto the parent element.

A block of help text that breaks onto a new line and may extend beyond one line.
A block of help text that breaks onto a new line and may extend beyond one line.
A block of help text that breaks onto a new line and may extend beyond one line.

Inpout Group

Extend form controls by adding text or buttons before, after, or on both sides of any text-based <input>. Use .input-groupwith an .input-group-addonor .input-group-btnto prepend or append elements to a single .form-control.

Copyright© 2016 Develop by Zwolek. All Rights Reserved.