To set rounded border to input box, use .rounded
class alongwith .form-control
class.
To set square border to input box, use .rounded-0
class alongwith .form-control
class.
To make label in center of form-control, use .col-form-label
class with <label>
element. This is default bootstrap class.
use .form-label-group
class & add attribute disabled
for disabled Input.
For different sizes of Input, Use classes like .form-control-lg
& .form-control-sm
for Large, Small input box.
You can indicate invalid and valid form fields with .is-invalid
and .is-valid
. Note that .invalid-feedback
is also supported with these classes.