Form controls
Basic elements
Basic form elements
Examples of various form controls.Create horizontal forms with the grid by adding the .row
class to form groups and using the .col-*-*
classes to specify the width of your labels and controls. Be sure to add .col-form-label
to your <label>
s as well so they’re vertically centered with their associated form controls.
Select2 is a jQuery based replacement for select boxes. It can take a regular select box and turn it into:
A placeholder value can be defined and will be displayed until a selection is made.
Select2 also supports multi-value select boxes. The select below is declared with the multiple attribute.