type="text"
type="email"
type="password"
type="number"
type="search"
type="url"
type="tel"
type="file"
type="datetime-local"
type="date"
type="time"
type="week"
type="month"
type="range"
type="color"
placeholder="....."
readonly
disabled
.form-control-plaintext
value="....."
minLength="....."
maxLength="....."
.form-text
textarea
select
multiple
.form-control-md
.form-control-sm
.form-control-lg
.col-sm-4
<input type="range">
controls with .custom-range
. The track (the background) and thumb (the value) are both styled to appear the same across browsers. As only IE and Firefox support “filling” their track from the left or right of the thumb as a means to visually indicate progress, we do not currently support it.min
and max
—0
and 100
, respectively. You may specify new values for those using the min
and max
attributes.step
value. In the example below, we double the number of steps by using step="0.5"
..form-check
.<div>
with a sibling <span>
to create our custom control and a <label>
for the accompanying text. Structurally, this is the same approach as our default .form-check
..form-check-inline
to any .form-check
..custom-control-inline
..form-check
.<div>
with a sibling <span>
to create our custom control and a <label>
for the accompanying text. Structurally, this is the same approach as our default .form-check
..form-check-inline
to any .form-check
..custom-control-inline
.