Form style is applied correctly to all textual <input> and <textarea> components with class .form-control:
Â
Example
Also take note that, in order to guarantee proper padding, we give each label element a .form-label class.
The markup of checkboxes is different. They are encircled with a container element. Both labels and .form-check have a class of .radio buttons and checkboxes use .form-check-label.form-check-input.
Textarea
Â
Example
Form Row/Grid (Inline Forms)
Use .row and .col if you want your form elements to show up side by side:
Example
Form Control Size
With .form-control-lg or .form-control-sm, you can modify the size of .form-control inputs:
Example
Disabled and Readonly
To make the input field inactive, use the readonly or disabled attributes:
Example
Plain text Inputs
To style an input field without borders, use the .form-control-plaintext class, making sure to maintain the appropriate padding and margins:
Example
Color Picker
===== Color Picker BUTTON MUKAVU =====
You should use the .form-control-colorclass to appropriately style an input with type=”color”: