Form Example
Individual form controls automatically receive some global styling. All textual <input>
, <textarea>
, and <select>
elements with .form-control
are set to width: 100%;
by default. Wrap labels and controls in .form-group
for optimum spacing.
Other Variants
Form Controls
Textual form controls—like <input>
s, <select>
s, and <textarea>
s are styled with the .form-control
class. Included are styles for general appearance, focus state, sizing, and more.