Basic Elements
Textual inputs
Here are examples of .form-control
applied to each
textual HTML5 <input>
type
.
Form layouts
Form groups
Horizontal form
Floating labels
Inline forms layout
Inline forms layout
Sizing
Set heights using classes like .form-control-sm
and .form-control-lg
.
Checkboxes
Form Checkboxes
Form Checkboxes Right
Radios
Form Radios
Form Radios Right
Switches
A switch has the markup of a custom checkbox but uses the .custom-switch
class to render a toggle switch. Switches also support the disabled
attribute.