Forms

All form controls automatically receive some global styling. Form elements with .form-control are set to width: 100%; by default. Wrap labels and controls in .form-group for optimum spacing.

Example:

Example block-level help text here.


Example block-level help text here.

Sample contact form:


<textarea id="exampleInputComment" class="form-control" rows="10" cols="80"></textarea>

Form states and sizes:

Looks Good.
Please choose a username.


Looks Good.
Please choose a username.

Custom file input:



Custom radio buttons and checkboxes:

 

Custom select: