ꯐꯣꯔꯃꯁꯤꯡ꯫
ꯃꯈꯜ ꯀꯌꯥꯒꯤ ꯐꯣꯔꯃꯁꯤꯡ ꯁꯦꯝꯅꯕꯒꯤꯗꯃꯛ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ, ꯂꯦꯑꯥꯎꯠ ꯑꯣꯄꯁꯅꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯀꯁ꯭ꯇꯝ ꯀꯝꯄꯣꯅꯦꯟꯇꯁꯤꯡꯒꯤ ꯈꯨꯗꯃꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯁꯤꯖꯤꯟꯅꯕꯒꯤ ꯒꯥꯏꯗꯂꯥꯏꯅꯁꯤꯡ꯫
ꯑꯣꯚꯔꯚꯤꯌꯨ ꯇꯧꯕꯥ꯫
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯀꯤ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯁꯤ ꯀ꯭ꯂꯥꯁꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯔꯤꯕꯨꯠ ꯇꯧꯔꯕꯥ ꯐꯣꯔꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡꯗꯥ ꯄꯥꯀꯊꯣꯛ ꯆꯥꯎꯊꯣꯀꯍꯜꯂꯤ꯫ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯗꯤꯚꯥꯏꯁꯁꯤꯡꯒꯤ ꯃꯔꯛꯇꯥ ꯍꯦꯟꯅꯥ ꯂꯦꯞꯄꯥ ꯂꯩꯇꯅꯥ ꯔꯦꯟꯗꯔ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ ꯃꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯃꯔ ꯗꯤꯁꯞꯂꯦꯁꯤꯡꯗꯥ ꯑꯣꯄꯁꯟ ꯇꯧꯅꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯁꯤ ꯁꯤꯖꯤꯟꯅꯧ꯫
ꯏꯃꯦꯏꯜ ꯚꯦꯔꯤꯐꯤꯀꯦꯁꯟ, ꯅꯝꯕꯔ ꯈꯅꯕꯥ, ꯑꯃꯁꯨꯡ ꯑꯇꯩ ꯑꯅꯧꯕꯥ ꯏꯅꯄꯨꯠ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯒꯤ ꯀꯥꯟꯅꯕꯥ ꯂꯧꯅꯕꯒꯤꯗꯃꯛ type
ꯏꯅꯄꯨꯠ ꯄꯨꯝꯅꯃꯛꯇꯥ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, email
ꯏꯃꯦꯏꯜ ꯑꯦꯗ꯭ꯔꯦꯁꯀꯤꯗꯃꯛꯇꯥ ꯅꯠꯠꯔꯒꯥ ꯅ꯭ꯌꯨꯃꯔꯤꯛ ꯏꯅꯐꯣꯔꯃꯦꯁꯅꯒꯤꯗꯃꯛꯇꯥ) ꯃꯇꯤꯛ ꯆꯥꯕꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯃꯥ ꯁꯣꯌꯗꯅꯥ ꯁꯤꯖꯤꯟꯅꯧ꯫number
ꯕꯨꯇꯁ꯭ꯠꯔꯥꯄꯀꯤ ꯐꯣꯔꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯎꯠꯅꯕꯥ ꯊꯨꯅꯥ ꯈꯨꯗꯝ ꯑꯃꯥ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤ꯫ ꯃꯊꯧ ꯇꯥꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ, ꯐꯣꯔꯝ ꯂꯦꯑꯥꯎꯠ, ꯑꯃꯁꯨꯡ ꯑꯇꯩ ꯀꯌꯥꯒꯤ ꯗꯣꯛꯌꯨꯃꯦꯟꯇꯦꯁꯅꯒꯤꯗꯃꯛꯇꯥ ꯄꯥꯗꯨꯅꯥ ꯂꯩꯌꯨ꯫
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1">
</div>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯇꯧꯕꯥ꯫
ꯇꯦꯛꯁꯇꯥꯏꯜ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ— <input>
s, <select>
s, ꯑꯃꯁꯨꯡ sꯒꯨꯝꯕꯥ— ꯀ꯭ꯂꯥꯁꯀꯥ <textarea>
ꯂꯣꯌꯅꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯏ꯫ .form-control
ꯃꯁꯤꯗꯥ ꯖꯦꯅꯦꯔꯦꯜ ꯑꯦꯄꯤꯌꯔꯟꯁ, ꯐꯣꯀꯁ ꯁ꯭ꯇꯦꯠ, ꯁꯥꯏꯖꯤꯡ, ꯑꯃꯁꯨꯡ ꯑꯇꯩ ꯀꯌꯥꯒꯤ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯌꯥꯑꯣꯔꯤ꯫
ꯃꯈꯥ ꯇꯥꯕꯥ ꯁ꯭ꯇꯥꯏꯜ ꯑꯦꯁ.ꯗꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯃꯁꯤꯡ ꯑꯁꯤ ꯁꯣꯏꯗꯅꯥ ꯑꯦꯛꯁꯞꯂꯣꯔ ꯇꯧꯕꯤꯌꯨ꯫<select>
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Email address</label>
<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="[email protected]">
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Example select</label>
<select class="form-control" id="exampleFormControlSelect1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlSelect2">Example multiple select</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlTextarea1">Example textarea</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
</div>
</form>
ꯐꯥꯏꯜ ꯏꯅꯄꯨꯠꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ, .form-control
ꯐꯣꯔ .form-control-file
.
<form>
<div class="form-group">
<label for="exampleFormControlFile1">Example file input</label>
<input type="file" class="form-control-file" id="exampleFormControlFile1">
</div>
</form>
ꯁꯥꯏꯖ ꯇꯧꯕꯥ꯫
.form-control-lg
ꯑꯃꯁꯨꯡ .form-control-sm
. _
<input class="form-control form-control-lg" type="text" placeholder=".form-control-lg">
<input class="form-control" type="text" placeholder="Default input">
<input class="form-control form-control-sm" type="text" placeholder=".form-control-sm">
<select class="form-control form-control-lg">
<option>Large select</option>
</select>
<select class="form-control">
<option>Default select</option>
</select>
<select class="form-control form-control-sm">
<option>Small select</option>
</select>
ꯄꯥꯕꯥ ꯈꯛꯇꯅꯤ꯫
readonly
ꯏꯅꯄꯨꯠꯀꯤ ꯚꯦꯜꯌꯨ ꯑꯗꯨ ꯃꯣꯗꯤꯐꯥꯏ ꯇꯧꯕꯥ ꯊꯤꯡꯅꯕꯥ ꯏꯅꯄꯨꯠ ꯑꯃꯗꯥ ꯕꯨꯂꯦꯇꯤꯟ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯍꯥꯄꯆꯤꯜꯂꯨ . ꯔꯤꯗ-ꯑꯣꯅꯂꯤ ꯏꯅꯄꯨꯠꯁꯤꯡ ꯑꯁꯤ ꯍꯦꯟꯅꯥ ꯂꯥꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ (ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯏꯅꯄꯨꯠꯁꯤꯡꯒꯨꯝꯅꯥ), ꯑꯗꯨꯕꯨ ꯁ꯭ꯇꯦꯟꯗꯔꯗ ꯀꯔꯁꯔ ꯑꯗꯨ ꯊꯝꯃꯨ꯫
<input class="form-control" type="text" placeholder="Readonly input here..." readonly>
ꯄꯥꯕꯥ ꯈꯛꯇꯒꯤ ꯑꯣꯏꯕꯥ ꯄ꯭ꯂꯦꯟ ꯇꯦꯛꯁꯠ꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ <input readonly>
ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯃꯗꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡ ꯄ꯭ꯂꯦꯟ ꯇꯦꯛꯁꯠ ꯑꯣꯏꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯕꯥ ꯄꯥꯝꯂꯕꯗꯤ, .form-control-plaintext
ꯗꯤꯐꯣꯜꯇ ꯐꯣꯔꯝ ꯐꯤꯜꯗ ꯁ꯭ꯇꯥꯏꯂꯤꯡ ꯑꯗꯨ ꯂꯧꯊꯣꯛꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯑꯆꯨꯝꯕꯥ ꯃꯥꯔꯖꯤꯟ ꯑꯃꯁꯨꯡ ꯄꯦꯗꯤꯡ ꯑꯗꯨ ꯉꯥꯛꯇꯨꯅꯥ ꯊꯝꯅꯕꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯁꯤꯖꯤꯟꯅꯧ꯫
<form>
<div class="form-group row">
<label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="staticEmail" value="[email protected]">
</div>
</div>
<div class="form-group row">
<label for="inputPassword" class="col-sm-2 col-form-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword">
</div>
</div>
</form>
<form class="form-inline">
<div class="form-group mb-2">
<label for="staticEmail2" class="sr-only">Email</label>
<input type="text" readonly class="form-control-plaintext" id="staticEmail2" value="[email protected]">
</div>
<div class="form-group mx-sm-3 mb-2">
<label for="inputPassword2" class="sr-only">Password</label>
<input type="password" class="form-control" id="inputPassword2" placeholder="Password">
</div>
<button type="submit" class="btn btn-primary mb-2">Confirm identity</button>
</form>
ꯔꯦꯟꯖ ꯏꯅꯄꯨꯠꯁꯤꯡ꯫
ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯑꯣꯏꯅꯥ ꯁ꯭ꯛꯔꯣꯜ ꯇꯧꯕꯥ ꯌꯥꯕꯥ ꯔꯦꯟꯖ ꯏꯅꯄꯨꯠꯁꯤꯡ ꯁꯦꯠ ꯇꯧꯕꯥ .form-control-range
.
<form>
<div class="form-group">
<label for="formControlRange">Example Range input</label>
<input type="range" class="form-control-range" id="formControlRange">
</div>
</form>
ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ꯫
ꯗꯤꯐꯣꯜꯇ ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ ꯑꯁꯤ ꯃꯇꯦꯡꯅꯥ ꯐꯒꯠꯍꯜꯂꯤ .form-check
, ꯃꯈꯣꯌꯒꯤ HTML ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯒꯤ ꯂꯦꯑꯥꯎꯠ ꯑꯃꯁꯨꯡ ꯂꯃꯆꯠ ꯐꯒꯠꯍꯜꯂꯤꯕꯥ ꯏꯅꯄꯨꯠ ꯃꯈꯜ ꯑꯅꯤꯃꯛꯀꯤ ꯀ꯭ꯂꯥꯁ ꯑꯃꯈꯛꯇꯃꯛ . ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡ ꯑꯁꯤ ꯂꯤꯁ꯭ꯠ ꯑꯃꯗꯥ ꯑꯣꯄꯁꯟ ꯑꯃꯥ ꯅꯠꯠꯔꯒꯥ ꯀꯌꯥ ꯈꯅꯕꯒꯤꯗꯃꯛꯇꯅꯤ, ꯑꯗꯨꯒꯥ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ ꯑꯁꯤ ꯀꯌꯥ ꯑꯃꯗꯒꯤ ꯑꯣꯄꯁꯟ ꯑꯃꯥ ꯈꯅꯕꯅꯤ꯫
ꯗꯤꯁꯑꯦꯕꯜ ꯑꯣꯏꯔꯕꯥ ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯁꯤꯅꯥ disabled
ꯏꯅꯄꯨꯠꯀꯤ ꯐꯤꯚꯝ ꯑꯗꯨ ꯇꯥꯀꯄꯗꯥ ꯃꯇꯦꯡ ꯄꯥꯡꯅꯕꯥ ꯍꯦꯟꯅꯥ ꯃꯌꯦꯛ ꯁꯦꯡꯕꯥ ꯃꯆꯨ ꯑꯃꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯒꯅꯤ꯫
ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣ ꯕꯇꯅꯁꯤꯡꯅꯥ HTMLꯗꯥ ꯌꯨꯝꯐꯝ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁꯄꯣꯔꯠ ꯇꯧꯏ ꯑꯃꯁꯨꯡ ꯑꯀꯨꯞꯄꯥ, ꯑꯦꯛꯁꯦꯁꯤꯕꯜ ꯂꯦꯕꯦꯂꯁꯤꯡ ꯄꯤꯔꯤ꯫ ꯑꯁꯤꯒꯨꯝꯕꯥ ꯃꯑꯣꯡꯗꯥ, ꯑꯩꯈꯣꯌꯒꯤ <input>
ꯑꯦꯁ ꯑꯃꯁꯨꯡ ꯑꯦꯁ ꯑꯁꯤ ꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯂꯩꯕꯥ ꯑꯃꯒꯤ ꯃꯍꯨꯠꯇꯥ <label>
ꯃꯔꯨꯞ-ꯃꯄꯥꯡ ꯑꯣꯏꯕꯥ ꯃꯆꯥꯀꯁꯤꯡꯅꯤ꯫ ꯃꯁꯤ ꯈꯔꯥ ꯍꯦꯟꯅꯥ ꯋꯥꯍꯟꯊꯣꯛ ꯄꯤꯕꯥ ꯃꯔꯃꯗꯤ ꯅꯍꯥꯛꯅꯥ ꯑꯃꯁꯨꯡ .<input>
<label>
id
for
<input>
<label>
ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯕꯥ (ꯁ꯭ꯇꯦꯛ ꯇꯧꯔꯕꯥ)
ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ, ꯈꯨꯗꯛꯀꯤ ꯑꯣꯏꯕꯥ ꯃꯔꯨꯞ ꯑꯣꯏꯕꯥ ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣ ꯃꯁꯤꯡ ꯑꯃꯍꯦꯛꯇꯕꯨ ꯚꯦꯔꯇꯤꯀꯦꯜ ꯑꯣꯏꯅꯥ ꯁ꯭ꯇꯦꯛ ꯇꯧꯒꯅꯤ ꯑꯃꯁꯨꯡ ꯃꯇꯤꯛ ꯆꯥꯅꯥ .form-check
.
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
<label class="form-check-label" for="defaultCheck1">
Default checkbox
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="defaultCheck2" disabled>
<label class="form-check-label" for="defaultCheck2">
Disabled checkbox
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1" value="option1" checked>
<label class="form-check-label" for="exampleRadios1">
Default radio
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2" value="option2">
<label class="form-check-label" for="exampleRadios2">
Second default radio
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios3" value="option3" disabled>
<label class="form-check-label" for="exampleRadios3">
Disabled radio
</label>
</div>
ꯏꯅꯂꯥꯏꯟ ꯇꯧꯕꯥ꯫
.form-check-inline
ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ ꯑꯁꯤ ꯆꯞ ꯃꯥꯟꯅꯕꯥ ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯔꯣꯗꯥ ꯒ꯭ꯔꯨꯞ ꯑꯃꯗꯥ ꯍꯥꯄꯆꯤꯟꯗꯨꯅꯥ .form-check
.
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox1" value="option1">
<label class="form-check-label" for="inlineCheckbox1">1</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox2" value="option2">
<label class="form-check-label" for="inlineCheckbox2">2</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox" id="inlineCheckbox3" value="option3" disabled>
<label class="form-check-label" for="inlineCheckbox3">3 (disabled)</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
<label class="form-check-label" for="inlineRadio1">1</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
<label class="form-check-label" for="inlineRadio2">2</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3" disabled>
<label class="form-check-label" for="inlineRadio3">3 (disabled)</label>
</div>
ꯂꯦꯕꯦꯜ ꯌꯥꯑꯣꯗꯅꯥ꯫
ꯂꯦꯕꯦꯜ ꯇꯦꯛꯁ ꯑꯃꯠꯇꯥ ꯂꯩꯇꯕꯥ .position-static
ꯃꯅꯨꯡꯗꯥ ꯂꯩꯕꯥ ꯏꯅꯄꯨꯠꯁꯤꯡꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ) .form-check
ꯍꯧꯖꯤꯀꯁꯨ ꯃꯈꯜ ꯑꯃꯒꯤ ꯑꯦꯛꯁꯦꯁꯤꯕꯜ ꯑꯣꯏꯕꯥ ꯃꯃꯤꯡ ꯄꯤꯕꯥ ꯍꯥꯌꯕꯁꯤ ꯅꯤꯡꯁꯤꯡꯕꯤꯌꯨ꯫aria-label
<div class="form-check">
<input class="form-check-input position-static" type="checkbox" id="blankCheckbox" value="option1" aria-label="...">
</div>
<div class="form-check">
<input class="form-check-input position-static" type="radio" name="blankRadio" id="blankRadio1" value="option1" aria-label="...">
</div>
ꯌꯥꯠꯊꯣꯛꯄ
ꯕꯨꯇꯁ꯭ꯠꯔꯥꯞ ꯑꯁꯤ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ display: block
ꯑꯃꯁꯨꯡ width: 100%
ꯆꯥꯎꯔꯥꯛꯅꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯄꯨꯝꯅꯃꯛꯇꯥ, ꯐꯣꯔꯃꯁꯤꯡ ꯑꯁꯤ ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ ꯚꯔꯇꯤꯀꯦꯜ ꯑꯣꯏꯅꯥ ꯁ꯭ꯇꯦꯛ ꯇꯧꯒꯅꯤ꯫ ꯐꯣꯔꯝ ꯑꯃꯗꯥ ꯂꯦꯑꯥꯎꯠ ꯑꯁꯤ ꯍꯣꯡꯗꯣꯛꯅꯕꯥ ꯑꯍꯦꯅꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ꯫
ꯒ꯭ꯔꯨꯄꯁꯤꯡ ꯁꯦꯝꯃꯨ꯫
ꯀ꯭ꯂꯥꯁ ꯑꯁꯤꯅꯥ .form-group
ꯐꯣꯔꯃꯁꯤꯡꯗꯥ ꯁ꯭ꯠꯔꯀꯆꯔ ꯈꯔꯥ ꯍꯥꯄꯆꯤꯟꯅꯕꯒꯤ ꯈ꯭ꯕꯥꯏꯗꯒꯤ ꯂꯥꯌꯕꯥ ꯃꯑꯣꯡꯅꯤ꯫ ꯃꯁꯤꯅꯥ ꯂꯦꯕꯦꯂꯁꯤꯡ, ꯀꯟꯠꯔꯣꯂꯁꯤꯡ, ꯑꯣꯄꯁꯅꯦꯜ ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ, ꯑꯃꯁꯨꯡ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯦꯁꯦꯖꯤꯡꯒꯤ ꯃꯑꯣꯡ ꯆꯨꯝꯅꯥ ꯒ꯭ꯔꯨꯞ ꯇꯧꯕꯗꯥ ꯄꯨꯛꯅꯤꯡ ꯊꯧꯒꯠꯄꯥ ꯐ꯭ꯂꯦꯛꯁꯤꯕꯜ ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯄꯤꯔꯤ꯫ ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ ꯃꯁꯤ ꯈꯛꯇꯃꯛ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ margin-bottom
, ꯑꯗꯨꯕꯨ ꯃꯁꯤꯅꯥ ꯃꯊꯧ ꯇꯥꯕꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯑꯍꯦꯅꯕꯥ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ .form-inline
ꯂꯧꯏ꯫ <fieldset>
ꯃꯁꯤ s, <div>
s, ꯅꯠꯠꯔꯒꯥ ꯆꯥꯎꯔꯥꯛꯅꯥ ꯑꯇꯩ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯍꯦꯛꯇꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁꯤꯖꯤꯟꯅꯧ꯫
<form>
<div class="form-group">
<label for="formGroupExampleInput">Example label</label>
<input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input placeholder">
</div>
<div class="form-group">
<label for="formGroupExampleInput2">Another label</label>
<input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input placeholder">
</div>
</form>
ꯐꯣꯔꯝ ꯒ꯭ꯔꯤꯗ ꯇꯧꯕꯥ꯫
ꯑꯩꯈꯣꯌꯒꯤ ꯒ꯭ꯔꯤꯗ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯍꯦꯟꯅꯥ ꯀꯝꯞꯂꯦꯛꯁ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯃꯁꯤꯡ ꯁꯦꯝꯕꯥ ꯌꯥꯏ꯫ ꯃꯁꯤꯡ ꯌꯥꯝꯂꯕꯥ ꯀꯣꯂꯃꯁꯤꯡ, ꯇꯣꯉꯥꯟ ꯇꯣꯉꯥꯅꯕꯥ ꯄꯥꯛ ꯆꯥꯎꯕꯥ, ꯑꯃꯁꯨꯡ ꯑꯍꯦꯅꯕꯥ ꯑꯦꯂꯥꯏꯟꯃꯦꯟꯇ ꯑꯣꯄꯁꯅꯁꯤꯡ ꯃꯊꯧ ꯇꯥꯕꯥ ꯐꯣꯔꯝ ꯂꯦꯑꯥꯎꯇꯁꯤꯡꯒꯤꯗꯃꯛ ꯍꯥꯌꯔꯤꯕꯁꯤꯡ ꯑꯁꯤ ꯁꯤꯖꯤꯟꯅꯧ.
<form>
<div class="row">
<div class="col">
<input type="text" class="form-control" placeholder="First name">
</div>
<div class="col">
<input type="text" class="form-control" placeholder="Last name">
</div>
</div>
</form>
ꯐꯣꯔꯝ ꯔꯣ꯫
ꯅꯍꯥꯛꯅꯥ , ꯑꯩꯈꯣꯌꯒꯤ ꯁ꯭ꯇꯦꯟꯗꯔꯗ ꯒ꯭ꯔꯤꯗ ꯔꯣꯒꯤ ꯚꯦꯔꯤꯑꯦꯁꯟ .row
ꯑꯃꯅꯤ .form-row
ꯃꯁꯤꯅꯥ ꯍꯦꯟꯅꯥ ꯀꯅꯈꯠꯄꯥ ꯑꯃꯁꯨꯡ ꯍꯦꯟꯅꯥ ꯀꯝꯄꯦꯛꯇ ꯑꯣꯏꯕꯥ ꯂꯦꯑꯥꯎꯇꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯗꯤꯐꯣꯜꯇ ꯀꯣꯂꯝ ꯒꯇꯔꯁꯤꯡ ꯑꯣꯚꯔꯔꯥꯏꯗ ꯇꯧꯏ꯫
<form>
<div class="form-row">
<div class="col">
<input type="text" class="form-control" placeholder="First name">
</div>
<div class="col">
<input type="text" class="form-control" placeholder="Last name">
</div>
</div>
</form>
ꯒ꯭ꯔꯤꯗ ꯁꯤꯁ꯭ꯇꯦꯃꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯍꯦꯟꯅꯥ ꯀꯝꯞꯂꯦꯛꯁ ꯑꯣꯏꯕꯥ ꯂꯦꯑꯥꯎꯇꯁꯤꯡꯁꯨ ꯁꯦꯝꯕꯥ ꯌꯥꯏ꯫
<form>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputEmail4">Email</label>
<input type="email" class="form-control" id="inputEmail4">
</div>
<div class="form-group col-md-6">
<label for="inputPassword4">Password</label>
<input type="password" class="form-control" id="inputPassword4">
</div>
</div>
<div class="form-group">
<label for="inputAddress">Address</label>
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
</div>
<div class="form-group">
<label for="inputAddress2">Address 2</label>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="inputCity">City</label>
<input type="text" class="form-control" id="inputCity">
</div>
<div class="form-group col-md-4">
<label for="inputState">State</label>
<select id="inputState" class="form-control">
<option selected>Choose...</option>
<option>...</option>
</select>
</div>
<div class="form-group col-md-2">
<label for="inputZip">Zip</label>
<input type="text" class="form-control" id="inputZip">
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="gridCheck">
<label class="form-check-label" for="gridCheck">
Check me out
</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Sign in</button>
</form>
ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯑꯣꯏꯕꯥ ꯃꯑꯣꯡ꯫
.row
ꯒ꯭ꯔꯨꯄꯁꯤꯡꯗꯥ ꯀ꯭ꯂꯥꯁ ꯍꯥꯄꯆꯤꯟꯗꯨꯅꯥ ꯑꯃꯁꯨꯡ .col-*-*
ꯅꯍꯥꯛꯀꯤ ꯂꯦꯕꯦꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯒꯤ ꯄꯥꯛ ꯆꯥꯎꯕꯥ ꯑꯗꯨ ꯇꯥꯛꯅꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯒ꯭ꯔꯤꯗꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯐꯣꯔꯃꯁꯤꯡ ꯁꯦꯝꯃꯨ꯫ .col-form-label
ꯅꯍꯥꯛꯀꯤ s ꯗꯥꯁꯨ ꯁꯣꯏꯗꯅꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ <label>
ꯃꯔꯝ ꯑꯗꯨꯅꯥ ꯃꯈꯣꯌꯅꯥ ꯃꯈꯣꯌꯒꯥ ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯚꯔꯇꯤꯀꯦꯜ ꯑꯣꯏꯅꯥ ꯁꯦꯟꯇꯔ ꯇꯧꯏ꯫
ꯃꯇꯝ ꯈꯔꯗꯗꯤ, ꯅꯍꯥꯛꯅꯥ ꯃꯊꯧ ꯇꯥꯔꯤꯕꯥ ꯑꯗꯨꯒꯨꯝꯕꯥ ꯃꯄꯨꯡ ꯐꯥꯕꯥ ꯑꯦꯂꯥꯏꯟꯃꯦꯟꯇ ꯑꯗꯨ ꯁꯦꯝꯅꯕꯥ ꯃꯥꯔꯖꯤꯟ ꯅꯠꯠꯔꯒꯥ ꯄꯦꯗꯤꯡ ꯌꯨꯇꯤꯂꯤꯇꯤꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ꯫ ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, ꯑꯩꯈꯣꯌꯅꯥ padding-top
ꯇꯦꯛꯁꯠ ꯕꯦꯖ ꯂꯥꯏꯟ ꯑꯁꯤ ꯍꯦꯟꯅꯥ ꯐꯅꯥ ꯑꯦꯂꯥꯏꯟ ꯇꯧꯅꯕꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯁ꯭ꯇꯦꯛ ꯇꯧꯔꯕꯥ ꯔꯦꯗꯤꯑꯣ ꯏꯅꯄꯨꯠꯁꯤꯡꯒꯤ ꯂꯦꯕꯦꯜ ꯑꯗꯨ ꯂꯧꯊꯣꯀꯈ꯭ꯔꯦ꯫
<form>
<div class="form-group row">
<label for="inputEmail3" class="col-sm-2 col-form-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="inputEmail3">
</div>
</div>
<div class="form-group row">
<label for="inputPassword3" class="col-sm-2 col-form-label">Password</label>
<div class="col-sm-10">
<input type="password" class="form-control" id="inputPassword3">
</div>
</div>
<fieldset class="form-group row">
<legend class="col-form-label col-sm-2 float-sm-left pt-0">Radios</legend>
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
<label class="form-check-label" for="gridRadios1">
First radio
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
<label class="form-check-label" for="gridRadios2">
Second radio
</label>
</div>
<div class="form-check disabled">
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
<label class="form-check-label" for="gridRadios3">
Third disabled radio
</label>
</div>
</div>
</fieldset>
<div class="form-group row">
<div class="col-sm-10 offset-sm-2">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="gridCheck1">
<label class="form-check-label" for="gridCheck1">
Example checkbox
</label>
</div>
</div>
</div>
<div class="form-group row">
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">Sign in</button>
</div>
</div>
</form>
ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯐꯣꯔꯝ ꯂꯦꯕꯦꯜ ꯁꯥꯏꯖ ꯇꯧꯕꯥ꯫
ꯑꯃꯁꯨꯡ .col-form-label-sm
. _ _ _ _ _.col-form-label-lg
<label>
<legend>
.form-control-lg
.form-control-sm
<form>
<div class="form-group row">
<label for="colFormLabelSm" class="col-sm-2 col-form-label col-form-label-sm">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control form-control-sm" id="colFormLabelSm" placeholder="col-form-label-sm">
</div>
</div>
<div class="form-group row">
<label for="colFormLabel" class="col-sm-2 col-form-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="colFormLabel" placeholder="col-form-label">
</div>
</div>
<div class="form-group row">
<label for="colFormLabelLg" class="col-sm-2 col-form-label col-form-label-lg">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control form-control-lg" id="colFormLabelLg" placeholder="col-form-label-lg">
</div>
</div>
</form>
ꯀꯣꯂꯝ ꯁꯥꯏꯖ ꯇꯧꯕꯥ꯫
ꯃꯃꯥꯡꯒꯤ ꯈꯨꯗꯃꯁꯤꯡꯗꯥ ꯎꯠꯂꯤꯕꯥ ꯃꯇꯨꯡ ꯏꯟꯅꯥ, ꯑꯩꯈꯣꯌꯒꯤ ꯒ꯭ꯔꯤꯗ ꯁꯤꯁ꯭ꯇꯦꯝ ꯑꯁꯤꯅꯥ ꯑꯗꯣꯃꯗꯥ .col
s ꯃꯁꯤꯡ ꯑꯃꯥ ꯍꯦꯛꯇꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯑꯃꯥ .row
ꯅꯠꯔꯒꯥ .form-row
. ꯃꯈꯣꯌꯅꯥ ꯂꯩꯔꯤꯕꯥ ꯄꯥꯛ ꯆꯥꯎꯕꯥ ꯑꯗꯨ ꯃꯈꯣꯌꯒꯤ ꯃꯔꯛꯇꯥ ꯆꯞ ꯃꯥꯟꯅꯅꯥ ꯈꯥꯌꯗꯣꯛꯀꯅꯤ꯫ ꯑꯗꯣꯝꯅꯥ ꯑꯗꯣꯃꯒꯤ ꯀꯣꯂꯃꯁꯤꯡꯒꯤ ꯁꯕꯁꯦꯠ ꯑꯃꯁꯨ ꯍꯦꯟꯅꯥ ꯅꯠꯠꯔꯒꯥ ꯍꯦꯟꯅꯥ ꯁ꯭ꯄꯦꯁ ꯂꯧꯅꯕꯥ ꯈꯅꯕꯤꯕꯥ ꯌꯥꯏ, ꯑꯗꯨꯒꯥ ꯂꯦꯃꯍꯧꯔꯤꯕꯥ .col
s ꯑꯗꯨꯅꯥ ꯑꯇꯣꯞꯄꯥ ꯑꯗꯨ ꯆꯞ ꯃꯥꯟꯅꯅꯥ ꯈꯥꯌꯗꯣꯀꯏ, ꯑꯀꯛꯅꯕꯥ ꯀꯣꯂꯝ ꯀ꯭ꯂꯥꯁꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ .col-7
.
<form>
<div class="form-row">
<div class="col-7">
<input type="text" class="form-control" placeholder="City">
</div>
<div class="col">
<input type="text" class="form-control" placeholder="State">
</div>
<div class="col">
<input type="text" class="form-control" placeholder="Zip">
</div>
</div>
</form>
ꯑꯣꯇꯣ-ꯁꯥꯏꯖꯤꯡ ꯇꯧꯕꯥ꯫
ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯈꯨꯗꯝ ꯑꯁꯤꯅꯥ ꯀꯟꯇꯦꯟꯇꯁꯤꯡ ꯑꯗꯨ ꯚꯔꯇꯤꯀꯦꯜ ꯑꯣꯏꯅꯥ ꯁꯦꯟꯇꯔ ꯇꯧꯅꯕꯥ ꯐ꯭ꯂꯦꯛꯁꯕꯣꯛꯁ ꯌꯨꯇꯤꯂꯤꯇꯤ ꯑꯃꯥ ꯁꯤꯖꯤꯟꯅꯩ ꯑꯃꯁꯨꯡ ꯍꯣꯡꯗꯣꯛ ꯍꯣꯡꯖꯤꯟ .col
ꯇꯧꯏ .col-auto
ꯃꯗꯨꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯀꯣꯂꯃꯁꯤꯡꯅꯥ ꯃꯊꯧ ꯇꯥꯕꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ ꯃꯐꯝ ꯈꯛꯇꯃꯛ ꯂꯧꯒꯅꯤ꯫ ꯑꯇꯣꯞꯄꯥ ꯃꯑꯣꯡ ꯑꯃꯗꯥ ꯍꯥꯌꯔꯕꯗꯥ, ꯀꯣꯂꯝ ꯑꯗꯨꯅꯥ ꯃꯁꯥꯃꯀꯄꯨ ꯃꯆꯥꯀꯁꯤꯡ ꯑꯗꯨꯗꯥ ꯌꯨꯝꯐꯝ ꯑꯣꯏꯔꯒꯥ ꯁꯥꯏꯖ ꯇꯧꯏ꯫
<form>
<div class="form-row align-items-center">
<div class="col-auto">
<label class="sr-only" for="inlineFormInput">Name</label>
<input type="text" class="form-control mb-2" id="inlineFormInput" placeholder="Jane Doe">
</div>
<div class="col-auto">
<label class="sr-only" for="inlineFormInputGroup">Username</label>
<div class="input-group mb-2">
<div class="input-group-prepend">
<div class="input-group-text">@</div>
</div>
<input type="text" class="form-control" id="inlineFormInputGroup" placeholder="Username">
</div>
</div>
<div class="col-auto">
<div class="form-check mb-2">
<input class="form-check-input" type="checkbox" id="autoSizingCheck">
<label class="form-check-label" for="autoSizingCheck">
Remember me
</label>
</div>
</div>
<div class="col-auto">
<button type="submit" class="btn btn-primary mb-2">Submit</button>
</div>
</div>
</form>
ꯃꯗꯨꯒꯤ ꯃꯇꯨꯡꯗꯥ ꯅꯍꯥꯛꯅꯥ ꯃꯗꯨ ꯑꯃꯨꯛ ꯍꯟꯅꯥ ꯁꯥꯏꯖ-ꯁ꯭ꯄꯦꯁꯤꯐꯤꯛ ꯀꯣꯂꯝ ꯀ꯭ꯂꯥꯁꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯔꯤꯃꯤꯛꯁ ꯇꯧꯕꯥ ꯌꯥꯒꯅꯤ꯫
<form>
<div class="form-row align-items-center">
<div class="col-sm-3 my-1">
<label class="sr-only" for="inlineFormInputName">Name</label>
<input type="text" class="form-control" id="inlineFormInputName" placeholder="Jane Doe">
</div>
<div class="col-sm-3 my-1">
<label class="sr-only" for="inlineFormInputGroupUsername">Username</label>
<div class="input-group">
<div class="input-group-prepend">
<div class="input-group-text">@</div>
</div>
<input type="text" class="form-control" id="inlineFormInputGroupUsername" placeholder="Username">
</div>
</div>
<div class="col-auto my-1">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="autoSizingCheck2">
<label class="form-check-label" for="autoSizingCheck2">
Remember me
</label>
</div>
</div>
<div class="col-auto my-1">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
ꯑꯃꯁꯨꯡ ꯇꯁꯦꯡꯅꯥ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯁꯤ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫
<form>
<div class="form-row align-items-center">
<div class="col-auto my-1">
<label class="mr-sm-2 sr-only" for="inlineFormCustomSelect">Preference</label>
<select class="custom-select mr-sm-2" id="inlineFormCustomSelect">
<option selected>Choose...</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
</div>
<div class="col-auto my-1">
<div class="custom-control custom-checkbox mr-sm-2">
<input type="checkbox" class="custom-control-input" id="customControlAutosizing">
<label class="custom-control-label" for="customControlAutosizing">Remember my preference</label>
</div>
</div>
<div class="col-auto my-1">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
ꯏꯅꯂꯥꯏꯟ ꯐꯣꯔꯃꯁꯤꯡ꯫
.form-inline
ꯂꯦꯕꯦꯂꯁꯤꯡ, ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯕꯇꯅꯁꯤꯡꯒꯤ ꯁꯤꯔꯤꯖ ꯑꯃꯥ ꯍꯣꯔꯥꯏꯖꯣꯟꯇꯦꯜ ꯔꯣ ꯑꯃꯗꯥ ꯎꯠꯅꯕꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯁꯤꯖꯤꯟꯅꯧ꯫ ꯏꯅꯂꯥꯏꯟ ꯐꯣꯔꯃꯁꯤꯡꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯁꯤ ꯃꯈꯣꯌꯒꯤ ꯗꯤꯐꯣꯜꯇ ꯁ꯭ꯇꯦꯇꯁꯤꯡꯗꯒꯤ ꯈꯔꯥ ꯈꯦꯠꯅꯩ꯫
- ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯁꯤ
display: flex
, HTML ꯋꯥꯏꯠ ꯁ꯭ꯄꯦꯁ ꯑꯃꯍꯦꯛꯇꯕꯨ ꯀꯣꯂꯥꯞꯁ ꯇꯧꯗꯨꯅꯥ ꯑꯃꯁꯨꯡ ꯅꯍꯥꯀꯄꯨ ꯁ꯭ꯄꯦꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯐ꯭ꯂꯦꯛꯁꯕꯣꯛꯁ ꯌꯨꯇꯤꯂꯤꯇꯤꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯑꯦꯂꯥꯏꯟꯃꯦꯟꯇ ꯀꯟꯠꯔꯣꯜ ꯄꯤꯕꯥ ꯌꯥꯍꯜꯂꯤ꯫ - ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯄꯁꯤꯡꯅꯥ
width: auto
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯞ ꯗꯤꯐꯣꯜꯇ ꯑꯗꯨ ꯑꯣꯚꯔꯔꯥꯏꯗ ꯇꯧꯅꯕꯥ ꯐꯪꯏwidth: 100%
. - ꯃꯣꯕꯥꯏꯜ ꯗꯤꯚꯥꯏꯁꯁꯤꯡꯗꯥ ꯑꯄꯤꯀꯄꯥ ꯚꯤꯎꯄꯣꯔꯇꯁꯤꯡꯒꯤ ꯑꯦꯀꯥꯎꯟꯇ ꯇꯧꯅꯕꯥ ꯌꯥꯃꯗ꯭ꯔꯕꯗꯥ 576px ꯄꯥꯀꯄꯥ ꯚꯤꯎꯄꯣꯔꯇꯁꯤꯡꯗꯥ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯈꯛꯇꯃꯛ ꯏꯅꯂꯥꯏꯟ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯏ꯫
ꯅꯍꯥꯛꯅꯥ ꯁ꯭ꯄꯦꯁꯤꯡ ꯌꯨꯇꯤꯂꯤꯇꯤꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯃꯤꯑꯣꯏ ꯑꯃꯒꯤ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯒꯤ ꯄꯥꯛ ꯆꯥꯎꯕꯥ ꯑꯃꯁꯨꯡ ꯑꯦꯂꯥꯏꯟꯃꯦꯟꯇ ꯑꯗꯨ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯑꯦꯗ꯭ꯔꯦꯁ ꯇꯧꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ (ꯃꯈꯥꯗꯥ ꯎꯠꯂꯤꯕꯥ ꯑꯁꯤꯒꯨꯝꯅꯥ)꯫ ꯑꯔꯣꯏꯕꯗꯥ, ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯈꯨꯗꯤꯡꯃꯛꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯃꯇꯝ ꯄꯨꯝꯅꯃꯛꯇꯥ ꯑꯃꯥ ꯁꯣꯏꯗꯅꯥ ꯌꯥꯑꯣꯍꯅꯕꯤꯌꯨ <label>
, ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯃꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯅꯟ-ꯁ꯭ꯛꯔꯤꯅꯔꯤꯗꯔ ꯚꯤꯖꯤꯇꯔꯁꯤꯡꯗꯒꯤ ꯂꯣꯠꯄꯥ ꯃꯊꯧ ꯇꯥꯕꯁꯨ .sr-only
ꯌꯥꯏ꯫
<form class="form-inline">
<label class="sr-only" for="inlineFormInputName2">Name</label>
<input type="text" class="form-control mb-2 mr-sm-2" id="inlineFormInputName2" placeholder="Jane Doe">
<label class="sr-only" for="inlineFormInputGroupUsername2">Username</label>
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">@</div>
</div>
<input type="text" class="form-control" id="inlineFormInputGroupUsername2" placeholder="Username">
</div>
<div class="form-check mb-2 mr-sm-2">
<input class="form-check-input" type="checkbox" id="inlineFormCheck">
<label class="form-check-label" for="inlineFormCheck">
Remember me
</label>
</div>
<button type="submit" class="btn btn-primary mb-2">Submit</button>
</form>
ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯁꯦꯂꯦꯛꯇꯁꯤꯡꯁꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫
<form class="form-inline">
<label class="my-1 mr-2" for="inlineFormCustomSelectPref">Preference</label>
<select class="custom-select my-1 mr-sm-2" id="inlineFormCustomSelectPref">
<option selected>Choose...</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
<div class="custom-control custom-checkbox my-1 mr-sm-2">
<input type="checkbox" class="custom-control-input" id="customControlInline">
<label class="custom-control-label" for="customControlInline">Remember my preference</label>
</div>
<button type="submit" class="btn btn-primary my-1">Submit</button>
</form>
ꯂꯣꯠꯁꯤꯜꯂꯕꯥ ꯂꯦꯕꯦꯂꯁꯤꯡꯒꯤ ꯑꯂꯇꯔꯅꯦꯇꯤꯕꯁꯤꯡ꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯏꯅꯄꯨꯠ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯂꯦꯕꯦꯜ ꯑꯃꯥ ꯌꯥꯑꯣꯗ꯭ꯔꯕꯗꯤ ꯁ꯭ꯛꯔꯤꯟ ꯔꯤꯗꯔꯒꯨꯝꯕꯥ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯃꯁꯤꯡꯗꯥ ꯑꯋꯥꯕꯥ ꯃꯥꯌꯣꯛꯅꯒꯅꯤ꯫ .sr-only
ꯍꯥꯌꯔꯤꯕꯥ ꯏꯅꯂꯥꯏꯟ ꯐꯣꯔꯃꯁꯤꯡ ꯑꯁꯤꯒꯤꯗꯃꯛꯇꯥ, ꯅꯍꯥꯛꯅꯥ ꯀ꯭ꯂꯥꯁ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯂꯦꯕꯦꯂꯁꯤꯡ ꯂꯣꯠꯄꯥ ꯌꯥꯏ꯫ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯂꯦꯕꯦꯜ ꯑꯃꯥ ꯄꯤꯕꯒꯤ ꯃꯈꯥ ꯇꯥꯕꯥ ꯑꯇꯣꯞꯄꯥ ꯄꯥꯝꯕꯩꯁꯤꯡ ꯂꯩꯔꯤ, ꯃꯗꯨꯗꯤ aria-label
, aria-labelledby
ꯅꯠꯔꯒꯥ title
ꯑꯦꯠꯔꯤꯕ꯭ꯌꯨꯠ ꯑꯁꯤꯅꯤ꯫ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯃꯁꯤꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯑꯃꯠꯇꯥ ꯂꯩꯠꯔꯕꯗꯤ, ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯅꯥ placeholder
ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ ꯁꯤꯖꯤꯟꯅꯕꯒꯤ ꯃꯇꯦꯡ ꯂꯧꯕꯥ ꯌꯥꯏ, ꯀꯔꯤꯒꯨꯝꯕꯥ ꯂꯩꯔꯕꯗꯤ, ꯑꯗꯨꯕꯨ placeholder
ꯑꯇꯩ ꯂꯦꯕꯦꯂꯤꯡ ꯃꯦꯊꯗꯁꯤꯡꯒꯤ ꯃꯍꯨꯠ ꯁꯤꯅꯕꯥ ꯑꯣꯏꯅꯥ ꯁꯤꯖꯤꯟꯅꯅꯕꯥ ꯄꯥꯎꯇꯥꯛ ꯄꯤꯗꯦ ꯍꯥꯌꯕꯁꯤ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ꯫
ꯃꯇꯦꯡ ꯄꯥꯡꯅꯕꯥ ꯇꯦꯛꯁꯠ꯫
ꯐꯣꯔꯃꯁꯤꯡꯗꯥ ꯕ꯭ꯂꯣꯛ-ꯂꯦꯚꯦꯜ ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯁꯦꯝꯕꯥ ꯌꯥꯏ (ꯃꯃꯥꯡꯗꯥ v3ꯗꯥ .form-text
ꯍꯥꯌꯅꯥ ꯈꯉꯅꯔꯝꯕꯥ )꯫ .help-block
ꯏꯅꯂꯥꯏꯟ ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ ꯑꯁꯤ ꯏꯅꯂꯥꯏꯟ HTML ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯍꯦꯛꯇ ꯑꯃꯁꯨꯡ ꯌꯨꯇꯤꯂꯤꯇꯤ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯐ꯭ꯂꯦꯛꯁꯤꯕꯜ ꯑꯣꯏꯅꯥ ꯏꯃꯞꯂꯤꯃꯦꯟꯇ ꯇꯧꯕꯥ ꯌꯥꯏ .text-muted
.
ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ ꯑꯦꯁꯣꯁꯤꯑꯦꯠ ꯇꯧꯕꯥ꯫
aria-describedby
ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ ꯑꯁꯤ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯁꯤꯖꯤꯟꯅꯕꯒꯥ ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯒꯥ ꯃꯌꯦꯛ ꯁꯦꯡꯅꯥ ꯃꯔꯤ ꯂꯩꯅꯒꯗꯕꯅꯤ꯫ ꯃꯁꯤꯅꯥ ꯌꯨꯖꯔꯅꯥ ꯐꯣꯀꯁ ꯇꯧꯕꯥ ꯅꯠꯠꯔꯒꯥ ꯀꯟꯠꯔꯣꯂꯗꯥ ꯆꯪꯂꯀꯄꯥ ꯃꯇꯃꯗꯥ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡ-ꯁ꯭ꯛꯔꯤꯟ ꯔꯤꯗꯔꯒꯨꯝꯕꯥ-ꯍꯦꯜꯄ ꯇꯦꯛꯁ ꯑꯁꯤ ꯂꯥꯎꯊꯣꯛꯀꯅꯤ꯫
ꯏꯅꯄꯨꯠꯁꯤꯡꯒꯤ ꯃꯈꯥꯗꯥ ꯂꯩꯕꯥ ꯍꯦꯜꯄ ꯇꯦꯛꯁꯠ ꯑꯁꯤ .form-text
. ꯀ꯭ꯂꯥꯁ ꯑꯁꯤꯅꯥ display: block
ꯃꯊꯛꯇꯥ ꯄꯅꯈ꯭ꯔꯤꯕꯥ ꯏꯅꯄꯨꯠꯁꯤꯡ ꯑꯁꯤꯗꯒꯤ ꯐꯖꯅꯥ ꯂꯥꯞꯅꯥ ꯊꯝꯅꯕꯒꯤꯗꯃꯛ ꯃꯊꯛꯀꯤ ꯃꯥꯔꯖꯤꯟ ꯈꯔꯥ ꯌꯥꯑꯣꯔꯤ ꯑꯃꯁꯨꯡ ꯍꯥꯄꯆꯤꯜꯂꯤ꯫
<label for="inputPassword5">Password</label>
<input type="password" id="inputPassword5" class="form-control" aria-describedby="passwordHelpBlock">
<small id="passwordHelpBlock" class="form-text text-muted">
Your password must be 8-20 characters long, contain letters and numbers, and must not contain spaces, special characters, or emoji.
</small>
ꯏꯅꯂꯥꯏꯟ ꯇꯦꯛꯁꯠꯅꯥ ꯌꯨꯇꯤꯂꯤꯇꯤ ꯀ꯭ꯂꯥꯁ ꯑꯃꯗꯒꯤ ꯍꯦꯟꯅꯥ ꯀꯔꯤꯁꯨ ꯂꯩꯇꯅꯥ ꯃꯁꯛ ꯊꯣꯀꯄꯥ ꯏꯅꯂꯥꯏꯟ HTML ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯍꯦꯛꯇ (ꯃꯗꯨ <small>
, , ꯅꯠꯠꯔꯒꯥ ꯑꯇꯩ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯑꯃꯠꯇꯥ ꯑꯣꯏꯔꯕꯁꯨ) ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ꯫<span>
<form class="form-inline">
<div class="form-group">
<label for="inputPassword6">Password</label>
<input type="password" id="inputPassword6" class="form-control mx-sm-3" aria-describedby="passwordHelpInline">
<small id="passwordHelpInline" class="text-muted">
Must be 8-20 characters long.
</small>
</div>
</form>
ꯗꯤꯁꯑꯦꯕꯜ ꯑꯣꯏꯔꯕꯥ ꯐꯣꯔꯃꯁꯤꯡ꯫
disabled
ꯌꯨꯖꯔ ꯏꯟꯇꯔꯦꯛꯁꯅꯁꯤꯡ ꯊꯤꯡꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯃꯁꯤ ꯍꯦꯟꯅꯥ ꯂꯥꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯍꯟꯅꯕꯥ ꯏꯅꯄꯨꯠ ꯑꯃꯗꯥ ꯕꯨꯂꯦꯇꯤꯟ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫
<input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled>
ꯃꯅꯨꯡꯗꯥ ꯂꯩꯕꯥ ꯀꯟꯠꯔꯣꯜ ꯄꯨꯝꯅꯃꯛ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ disabled
ꯑꯦꯠꯔꯤꯕ꯭ꯌꯨꯠ ꯑꯗꯨ aꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫<fieldset>
<form>
<fieldset disabled>
<legend>Disabled fieldset example</legend>
<div class="form-group">
<label for="disabledTextInput">Disabled input</label>
<input type="text" id="disabledTextInput" class="form-control" placeholder="Disabled input">
</div>
<div class="form-group">
<label for="disabledSelect">Disabled select menu</label>
<select id="disabledSelect" class="form-control">
<option>Disabled select</option>
</select>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="disabledFieldsetCheck" disabled>
<label class="form-check-label" for="disabledFieldsetCheck">
Can't check this
</label>
</div>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</fieldset>
</form>
ꯑꯦꯉ꯭ꯀꯔꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯀꯦꯚꯦꯠ ꯇꯧꯕꯥ꯫
ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡꯅꯥ aꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯂꯩꯕꯥ ꯅꯦꯇꯤꯕ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯄꯨꯝꯅꯃꯛ ( <input>
, <select>
, ꯑꯃꯁꯨꯡ <button>
ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡ) <fieldset disabled>
ꯑꯁꯤ ꯗꯤꯁꯦꯕꯜ ꯑꯣꯏꯅꯥ ꯂꯧꯏ, ꯃꯈꯣꯌꯗꯥ ꯀꯤꯕꯣꯔꯗ ꯑꯃꯁꯨꯡ ꯃꯥꯎꯁ ꯏꯟꯇꯔꯦꯛꯁꯟ ꯑꯅꯤꯃꯛ ꯊꯤꯡꯏ꯫
ꯑꯗꯨꯝ ꯑꯣꯏꯅꯃꯛ, ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯝ ꯑꯗꯨꯗꯥ , ꯑꯁꯤꯒꯨꯝꯕꯥ ꯀꯁ꯭ꯇꯝ ꯕꯇꯅꯒꯨꯝꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯁꯨ ꯌꯥꯑꯣꯔꯕꯗꯤ <a ... class="btn btn-*">
, ꯍꯥꯌꯔꯤꯕꯁꯤꯡ ꯑꯁꯤ pointer-events: none
. ꯕꯇꯅꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯁ꯭ꯇꯦꯇꯀꯤ ꯃꯇꯥꯡꯗꯥ ꯁꯦꯛꯁꯟ ꯑꯁꯤꯗꯥ ꯄꯅꯈ꯭ꯔꯤꯕꯥ ꯃꯇꯨꯡ ꯏꯟꯅꯥ (ꯑꯃꯁꯨꯡ ꯃꯔꯨꯑꯣꯏꯅꯥ ꯑꯦꯉ꯭ꯀꯔ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯒꯤ ꯁꯕ-ꯁꯦꯛꯁꯟ ꯑꯁꯤꯗꯥ), CSS ꯄ꯭ꯔꯣꯄꯔꯇꯤ ꯑꯁꯤ ꯍꯧꯖꯤꯛ ꯐꯥꯑꯣꯕꯥ ꯁ꯭ꯇꯦꯟꯗꯔꯗꯥꯏꯖ ꯇꯧꯗ꯭ꯔꯤ ꯑꯃꯁꯨꯡ ꯏꯟꯇꯔꯅꯦꯠ ꯑꯦꯛꯁꯞꯂꯣꯔꯥꯔ 10ꯗꯥ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯗ꯭ꯔꯤ, ꯑꯦꯉ꯭ꯀꯔꯗꯥ ꯌꯨꯝꯐꯝ ꯑꯣꯏꯕꯥ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯁꯨ ꯍꯧꯖꯤꯀꯁꯨ ꯂꯩꯒꯅꯤ꯫ ꯀꯤꯕꯣꯔꯗ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯐꯣꯀꯁ ꯇꯧꯕꯥ ꯌꯥꯕꯥ ꯑꯃꯁꯨꯡ ꯑꯣꯄꯔꯦꯠ ꯇꯧꯕꯥ ꯌꯥꯕꯥ꯫ tabindex="-1"
ꯅꯍꯥꯛꯅꯥ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯁꯤ ꯐꯣꯀꯁ ꯐꯪꯍꯟꯗꯅꯕꯥ ꯑꯃꯁꯨꯡ aria-disabled="disabled"
ꯃꯈꯣꯌꯒꯤ ꯁ꯭ꯇꯦꯠ ꯑꯗꯨ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯗꯥ ꯁꯤꯒꯅꯦꯜ ꯇꯧꯅꯕꯥ ꯍꯥꯄꯆꯤꯟꯗꯨꯅꯥ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯃꯣꯗꯤꯐꯥꯏ ꯇꯧꯒꯗꯕꯅꯤ꯫
ꯀ꯭ꯔꯣꯁ-ꯕ꯭ꯔꯥꯎꯖꯔ ꯀꯝꯄꯦꯇꯤꯕꯤꯂꯤꯇꯤ ꯂꯩꯕꯥ꯫
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯇꯥ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯒꯅꯤ ꯑꯗꯨꯕꯨ ꯏꯟꯇꯔꯅꯦꯠ ꯑꯦꯛꯁꯞꯂꯣꯔꯥꯔ ꯱꯱ ꯑꯃꯁꯨꯡ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯑꯁꯤꯅꯥ disabled
ꯑꯦꯠꯔꯤꯕ꯭ꯌꯨꯠ ꯑꯁꯤ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯗꯦ <fieldset>
. ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡ ꯑꯁꯤꯗꯥ ꯐꯤꯜꯗꯁꯦꯠ ꯑꯁꯤ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯀꯁ꯭ꯇꯝ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯁꯤꯖꯤꯟꯅꯧ꯫
ꯚꯦꯂꯤꯗꯦꯁꯟ ꯇꯧꯕꯥ꯫
HTML5 ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯅꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯌꯨꯖꯔꯁꯤꯡꯗꯥ ꯃꯃꯜ ꯂꯩꯕꯥ, ꯑꯦꯛꯁꯟ ꯇꯧꯕꯥ ꯌꯥꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯄꯤꯌꯨ– ꯑꯩꯈꯣꯌꯒꯤ ꯁꯄꯣꯔꯠ ꯇꯧꯔꯤꯕꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯇꯥ ꯐꯪꯒꯅꯤ . ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯀꯇꯒꯤ ꯈꯜꯂꯨ, ꯅꯠꯠꯔꯒꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯕꯤꯜꯇ-ꯏꯟ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯁ꯭ꯇꯥꯔꯇꯑꯞ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯀꯁ꯭ꯇꯝ ꯃꯦꯁꯦꯖꯁꯤꯡ ꯏꯃꯞꯂꯤꯃꯦꯟꯇ ꯇꯧ꯫
ꯃꯁꯤ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ꯫
ꯕꯨꯇꯁ꯭ꯠꯔꯥꯄꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯑꯁꯤ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤ:
- HTML ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯑꯁꯤ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯤ ꯁ꯭ꯌꯨꯗꯣ-ꯀ꯭ꯂꯥꯁ ꯑꯅꯤꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ,
:invalid
ꯑꯃꯁꯨꯡ:valid
. ꯃꯁꯤ<input>
,<select>
, ꯑꯃꯁꯨꯡ<textarea>
ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯗꯥ ꯆꯠꯅꯩ꯫ :invalid
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯅꯥ ꯃꯃꯥ-ꯃꯄꯥ ꯀ꯭ꯂꯥꯁꯇꯥ ꯑꯃꯁꯨꯡ:valid
ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁ꯭ꯀꯣꯞ ꯇꯧꯏ.was-validated
, ꯃꯍꯧꯁꯥꯅꯥ<form>
. ꯅꯠꯔꯕꯗꯤ, ꯚꯦꯜꯌꯨ ꯂꯩꯇꯕꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯐꯤꯜꯗ ꯑꯃꯍꯦꯛꯇꯅꯥ ꯄꯦꯖ ꯂꯣꯗ ꯇꯧꯕꯗꯥ ꯑꯁꯣꯌꯕꯥ ꯑꯣꯏꯅꯥ ꯎꯠꯂꯤ. ꯃꯁꯤꯒꯤ ꯃꯑꯣꯡ ꯑꯁꯤꯅꯥ, ꯅꯍꯥꯛꯅꯥ ꯃꯈꯣꯌꯕꯨ ꯀꯗꯥꯏꯗꯥ ꯑꯦꯛꯇꯤꯚ ꯇꯧꯒꯗꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯈꯅꯕꯥ ꯌꯥꯏ (ꯃꯍꯧꯁꯥꯅꯥ ꯐꯣꯔꯝ ꯁꯕꯃꯤꯁꯟ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯔꯕꯥ ꯃꯇꯨꯡꯗꯥ)꯫- ꯐꯣꯔꯝ ꯑꯗꯨꯒꯤ ꯃꯑꯣꯡ-ꯃꯇꯧ ꯑꯗꯨ ꯔꯤꯁꯦꯠ ꯇꯧꯅꯕꯥ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, AJAX ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯗꯥꯏꯅꯥꯃꯤꯛ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯁꯕꯃꯤꯁꯅꯁꯤꯡꯒꯤ ꯑꯣꯏꯅꯗꯤ), ꯁꯕꯃꯤꯁꯟ ꯇꯧꯔꯕꯥ ꯃꯇꯨꯡꯗꯥ ꯑꯃꯨꯛ ꯍꯟꯅꯥ
.was-validated
ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯂꯧꯊꯣꯀꯎ꯫<form>
- ꯐꯣꯂꯕꯦꯛ ꯑꯃꯥ ꯑꯣꯏꯅꯥ,
.is-invalid
ꯑꯃꯁꯨꯡ ꯁꯔꯚꯔ ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯅꯒꯤꯗꯃꯛꯇꯥ.is-valid
ꯁ꯭ꯌꯨꯗꯣ-ꯀ꯭ꯂꯥꯁꯤꯡꯒꯤ ꯃꯍꯨꯠꯇꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ . ꯃꯈꯣꯌꯅꯥ ꯃꯃꯥ-ꯃꯄꯥꯒꯤ ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯗꯦ꯫.was-validated
- CSSꯅꯥ ꯀꯔꯝꯅꯥ ꯊꯕꯛ ꯇꯧꯕꯒꯦ ꯍꯥꯌꯕꯗꯨꯗꯥ ꯑꯊꯤꯡꯕꯥ ꯂꯩꯕꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ, ꯑꯩꯈꯣꯌꯅꯥ (ꯍꯧꯖꯤꯛꯀꯤ ꯑꯣꯏꯅꯥ)
<label>
ꯀꯁ꯭ꯇꯝ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯃꯇꯦꯡ ꯌꯥꯑꯣꯗꯅꯥ DOMꯗꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯑꯃꯒꯤ ꯃꯃꯥꯡꯗꯥ ꯂꯥꯀꯄꯥ a ꯑꯃꯗꯥ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ ꯉꯃꯗꯦ꯫ - ꯃꯣꯗꯔꯟ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯅꯥ ꯀꯟꯠꯔꯣꯜ ꯚꯦꯂꯤꯗꯦꯁꯟ API , ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯚꯦꯂꯤꯗꯦꯠ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯃꯦꯊꯗꯁꯤꯡꯒꯤ ꯁꯤꯔꯤꯖ ꯑꯃꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫
- ꯐꯤꯗꯕꯦꯛ ꯃꯦꯁꯦꯖꯁꯤꯡꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇꯁꯤꯡ (ꯕ꯭ꯔꯥꯎꯖꯔ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯑꯣꯏꯅꯥ ꯇꯣꯉꯥꯅꯕꯥ, ꯑꯃꯁꯨꯡ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯗꯕꯥ) ꯅꯠꯠꯔꯒꯥ ꯑꯍꯦꯅꯕꯥ HTML ꯑꯃꯁꯨꯡ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ꯫
- ꯅꯍꯥꯛꯅꯥ
setCustomValidity
ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯇꯥ ꯌꯥꯎꯕꯥ ꯀꯁ꯭ꯇꯝ ꯚꯦꯂꯤꯗꯤꯇꯤ ꯃꯦꯁꯦꯖꯁꯤꯡ ꯄꯤꯕꯥ ꯌꯥꯏ꯫
ꯃꯗꯨ ꯋꯥꯈꯂꯗꯥ ꯊꯃꯗꯨꯅꯥ, ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ, ꯑꯣꯄꯁꯅꯦꯜ ꯁꯔꯚꯔ ꯁꯥꯏꯗ ꯀ꯭ꯂꯥꯁꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇꯁꯤꯡꯒꯤꯗꯃꯛ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯗꯦꯃꯣꯁꯤꯡ ꯑꯁꯤ ꯈꯟꯅꯕꯤꯌꯨ꯫
ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ꯫
ꯀꯁ꯭ꯇꯝ ꯕꯨꯇꯁ꯭ꯠꯔꯥꯞ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯦꯁꯦꯖꯁꯤꯡꯒꯤꯗꯃꯛ, ꯅꯍꯥꯛꯅꯥ novalidate
ꯅꯍꯥꯛꯀꯤ <form>
. ꯃꯁꯤꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯐꯤꯗꯕꯦꯛ ꯇꯨꯂꯇꯤꯄꯁꯤꯡ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯏ, ꯑꯗꯨꯕꯨ ꯍꯧꯖꯤꯀꯁꯨ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯇꯥ ꯐꯣꯔꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ APIꯁꯤꯡꯒꯤ ꯑꯦꯛꯁꯦꯁ ꯄꯤꯔꯤ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯑꯁꯤ ꯄꯤꯁꯤꯟꯅꯕꯥ ꯍꯣꯠꯅꯒꯗꯕꯅꯤ; ꯑꯩꯈꯣꯌꯒꯤ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯅꯥ ꯁꯕꯃꯤꯠ ꯕꯇꯟ ꯑꯗꯨ ꯏꯟꯇꯔꯁꯦꯞ ꯇꯧꯒꯅꯤ ꯑꯃꯁꯨꯡ ꯑꯗꯣꯃꯗꯥ ꯐꯤꯗꯕꯦꯛ ꯔꯤꯂꯦ ꯇꯧꯒꯅꯤ꯫ ꯁꯕꯃꯤꯠ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯕꯗꯥ, ꯅꯍꯥꯛꯅꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡꯗꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ :invalid
ꯑꯃꯁꯨꯡ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯗꯨ ꯎꯕꯥ ꯐꯪꯒꯅꯤ꯫:valid
ꯀꯁ꯭ꯇꯝ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡꯅꯥ ꯐꯤꯗꯕꯦꯛ ꯍꯦꯟꯅꯥ ꯐꯅꯥ ꯄꯥꯎ ꯐꯥꯑꯣꯅꯅꯕꯥ ꯀꯁ꯭ꯇꯝ ꯃꯆꯨ, ꯉꯃꯈꯩ, ꯐꯣꯀꯁ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯑꯥꯏꯀꯅꯁꯤꯡ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯏ꯫ sꯒꯤꯗꯃꯛ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯑꯥꯏꯀꯅꯁꯤꯡ <select>
ꯑꯁꯤ .custom-select
..form-control
<form class="needs-validation" novalidate>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationCustom01">First name</label>
<input type="text" class="form-control" id="validationCustom01" value="Mark" required>
<div class="valid-feedback">
Looks good!
</div>
</div>
<div class="col-md-6 mb-3">
<label for="validationCustom02">Last name</label>
<input type="text" class="form-control" id="validationCustom02" value="Otto" required>
<div class="valid-feedback">
Looks good!
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationCustom03">City</label>
<input type="text" class="form-control" id="validationCustom03" required>
<div class="invalid-feedback">
Please provide a valid city.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationCustom04">State</label>
<select class="custom-select" id="validationCustom04" required>
<option selected disabled value="">Choose...</option>
<option>...</option>
</select>
<div class="invalid-feedback">
Please select a valid state.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationCustom05">Zip</label>
<input type="text" class="form-control" id="validationCustom05" required>
<div class="invalid-feedback">
Please provide a valid zip.
</div>
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="invalidCheck" required>
<label class="form-check-label" for="invalidCheck">
Agree to terms and conditions
</label>
<div class="invalid-feedback">
You must agree before submitting.
</div>
</div>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function() {
'use strict';
window.addEventListener('load', function() {
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.getElementsByClassName('needs-validation');
// Loop over them and prevent submission
var validation = Array.prototype.filter.call(forms, function(form) {
form.addEventListener('submit', function(event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add('was-validated');
}, false);
});
}, false);
})();
</script>
ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏ꯫
ꯀꯁ꯭ꯇꯝ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯛ ꯃꯦꯁꯦꯖꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯐꯣꯔꯝ ꯕꯤꯍꯦꯕꯤꯌꯔꯁꯤꯡ ꯍꯣꯡꯗꯣꯛꯅꯕꯥ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯏꯕꯗꯥ ꯄꯨꯛꯅꯤꯡ ꯆꯪꯗ꯭ꯔꯤꯕꯔꯥ? ꯄꯨꯝꯅꯃꯛ ꯑꯐꯕꯥ, ꯅꯍꯥꯛꯅꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯒꯤ ꯗꯤꯐꯣꯜꯇꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯒꯅꯤ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯑꯁꯤ ꯁꯕꯃꯤꯠ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯧ꯫ ꯅꯍꯥꯛꯀꯤ ꯕ꯭ꯔꯥꯎꯖꯔ ꯑꯃꯁꯨꯡ ꯑꯣ.ꯑꯦꯁ.ꯀꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ, ꯅꯍꯥꯛꯅꯥ ꯐꯤꯗꯕꯦꯀꯀꯤ ꯈꯔꯥ ꯇꯣꯉꯥꯅꯕꯥ ꯃꯑꯣꯡ ꯑꯃꯥ ꯎꯕꯥ ꯐꯪꯒꯅꯤ꯫
ꯍꯥꯌꯔꯤꯕꯥ ꯐꯤꯗꯕꯦꯛ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ CSSꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯕꯥ ꯉꯃꯗ꯭ꯔꯕꯁꯨ, ꯅꯍꯥꯛꯅꯥ ꯍꯧꯖꯤꯀꯁꯨ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯐꯤꯗꯕꯦꯛ ꯇꯦꯛꯁꯠ ꯑꯗꯨ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫
<form>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationDefault01">First name</label>
<input type="text" class="form-control" id="validationDefault01" value="Mark" required>
</div>
<div class="col-md-6 mb-3">
<label for="validationDefault02">Last name</label>
<input type="text" class="form-control" id="validationDefault02" value="Otto" required>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationDefault03">City</label>
<input type="text" class="form-control" id="validationDefault03" required>
</div>
<div class="col-md-3 mb-3">
<label for="validationDefault04">State</label>
<select class="custom-select" id="validationDefault04" required>
<option selected disabled value="">Choose...</option>
<option>...</option>
</select>
</div>
<div class="col-md-3 mb-3">
<label for="validationDefault05">Zip</label>
<input type="text" class="form-control" id="validationDefault05" required>
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="invalidCheck2" required>
<label class="form-check-label" for="invalidCheck2">
Agree to terms and conditions
</label>
</div>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
ꯁꯔꯚꯔ ꯁꯥꯏꯗꯇꯥ ꯂꯩ꯫
ꯑꯩꯈꯣꯌꯅꯥ ꯀ꯭ꯂꯥꯏꯟꯇ-ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁꯤꯖꯤꯟꯅꯅꯕꯥ ꯄꯥꯎꯇꯥꯛ ꯄꯤꯔꯤ, ꯑꯗꯨꯕꯨ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯁꯔꯚꯔ-ꯁꯥꯏꯗ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯃꯊꯧ ꯇꯥꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ .is-invalid
ꯑꯃꯁꯨꯡ .is-valid
. .invalid-feedback
ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯃꯁꯤꯁꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ ꯍꯥꯌꯕꯥ ꯈꯉꯕꯤꯌꯨ꯫
ꯑꯁꯣꯌꯕꯥ ꯐꯤꯜꯗꯁꯤꯡꯒꯤ ꯑꯣꯏꯅꯗꯤ, ꯑꯁꯣꯌꯕꯥ ꯐꯤꯗꯕꯦꯛ/ꯑꯦꯔꯥꯔ ꯃꯦꯁꯦꯖ ꯑꯗꯨ ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯐꯣꯔꯝ ꯐꯤꯜꯗ ꯑꯗꯨꯒꯥ ꯃꯔꯤ ꯂꯩꯅꯕꯥ aria-describedby
. ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯁꯤꯅꯥ ꯑꯃꯗꯒꯤ ꯍꯦꯟꯅꯥ id
ꯔꯤꯐꯔꯦꯟꯁ ꯇꯧꯕꯥ ꯌꯥꯍꯜꯂꯤ, ꯀꯔꯤꯒꯨꯝꯕꯥ ꯐꯤꯜꯗ ꯑꯗꯨꯅꯥ ꯍꯥꯟꯅꯅꯥ ꯑꯍꯦꯅꯕꯥ ꯐꯣꯔꯝ ꯇꯦꯛꯁꯇꯇꯥ ꯇꯥꯀꯄꯤꯔꯕꯗꯤ꯫
<form>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationServer01">First name</label>
<input type="text" class="form-control is-valid" id="validationServer01" value="Mark" required>
<div class="valid-feedback">
Looks good!
</div>
</div>
<div class="col-md-6 mb-3">
<label for="validationServer02">Last name</label>
<input type="text" class="form-control is-valid" id="validationServer02" value="Otto" required>
<div class="valid-feedback">
Looks good!
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationServer03">City</label>
<input type="text" class="form-control is-invalid" id="validationServer03" aria-describedby="validationServer03Feedback" required>
<div id="validationServer03Feedback" class="invalid-feedback">
Please provide a valid city.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationServer04">State</label>
<select class="custom-select is-invalid" id="validationServer04" aria-describedby="validationServer04Feedback" required>
<option selected disabled value="">Choose...</option>
<option>...</option>
</select>
<div id="validationServer04Feedback" class="invalid-feedback">
Please select a valid state.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationServer05">Zip</label>
<input type="text" class="form-control is-invalid" id="validationServer05" aria-describedby="validationServer05Feedback" required>
<div id="validationServer05Feedback" class="invalid-feedback">
Please provide a valid zip.
</div>
</div>
</div>
<div class="form-group">
<div class="form-check">
<input class="form-check-input is-invalid" type="checkbox" value="" id="invalidCheck3" aria-describedby="invalidCheck3Feedback" required>
<label class="form-check-label" for="invalidCheck3">
Agree to terms and conditions
</label>
<div id="invalidCheck3Feedback" class="invalid-feedback">
You must agree before submitting.
</div>
</div>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
ꯁꯄꯣꯔꯠ ꯇꯧꯔꯤꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡ꯫
ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯀꯝꯄꯣꯅꯦꯟꯇꯁꯤꯡ ꯑꯁꯤꯒꯤꯗꯃꯛꯇꯥ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯐꯪꯏ:
<input>
ꯑꯦꯁ ꯑꯃꯁꯨꯡ<textarea>
ꯑꯦꯁꯒꯥ ꯂꯣꯌꯅꯅꯥ꯫.form-control
<select>
s ꯂꯣꯌꯅꯅꯥ.form-control
ꯅꯠꯔꯒꯥ꯫.custom-select
.form-check
ꯑꯦꯁ.custom-checkbox
ꯑꯦꯁ ꯑꯃꯁꯨꯡ.custom-radio
ꯑꯦꯁ.custom-file
<form class="was-validated">
<div class="mb-3">
<label for="validationTextarea">Textarea</label>
<textarea class="form-control is-invalid" id="validationTextarea" placeholder="Required example textarea" required></textarea>
<div class="invalid-feedback">
Please enter a message in the textarea.
</div>
</div>
<div class="custom-control custom-checkbox mb-3">
<input type="checkbox" class="custom-control-input" id="customControlValidation1" required>
<label class="custom-control-label" for="customControlValidation1">Check this custom checkbox</label>
<div class="invalid-feedback">Example invalid feedback text</div>
</div>
<div class="custom-control custom-radio">
<input type="radio" class="custom-control-input" id="customControlValidation2" name="radio-stacked" required>
<label class="custom-control-label" for="customControlValidation2">Toggle this custom radio</label>
</div>
<div class="custom-control custom-radio mb-3">
<input type="radio" class="custom-control-input" id="customControlValidation3" name="radio-stacked" required>
<label class="custom-control-label" for="customControlValidation3">Or toggle this other custom radio</label>
<div class="invalid-feedback">More example invalid feedback text</div>
</div>
<div class="mb-3">
<select class="custom-select" required>
<option value="">Choose...</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
<div class="invalid-feedback">Example invalid custom select feedback</div>
</div>
<div class="custom-file mb-3">
<input type="file" class="custom-file-input" id="validatedCustomFile" required>
<label class="custom-file-label" for="validatedCustomFile">Choose file...</label>
<div class="invalid-feedback">Example invalid custom file feedback</div>
</div>
<div class="mb-3">
<div class="input-group is-invalid">
<div class="input-group-prepend">
<span class="input-group-text" id="validatedInputGroupPrepend">@</span>
</div>
<input type="text" class="form-control is-invalid" aria-describedby="validatedInputGroupPrepend" required>
</div>
<div class="invalid-feedback">
Example invalid input group feedback
</div>
</div>
<div class="mb-3">
<div class="input-group is-invalid">
<div class="input-group-prepend">
<label class="input-group-text" for="validatedInputGroupSelect">Options</label>
</div>
<select class="custom-select" id="validatedInputGroupSelect" required>
<option value="">Choose...</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
</div>
<div class="invalid-feedback">
Example invalid input group feedback
</div>
</div>
<div class="input-group is-invalid">
<div class="custom-file">
<input type="file" class="custom-file-input" id="validatedInputGroupCustomFile" required>
<label class="custom-file-label" for="validatedInputGroupCustomFile">Choose file...</label>
</div>
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button">Button</button>
</div>
</div>
<div class="invalid-feedback">
Example invalid input group feedback
</div>
</form>
ꯇꯨꯂꯇꯤꯄꯁꯤꯡ꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯀꯤ ꯐꯣꯔꯝ ꯂꯦꯑꯥꯎꯇꯅꯥ ꯑꯌꯥꯕꯥ ꯄꯤꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯔꯕꯥ ꯇꯨꯂꯇꯤꯞ ꯑꯃꯗꯥ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯐꯤꯗꯕꯦꯛ ꯎꯠꯅꯕꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯗꯨ .{valid|invalid}-feedback
ꯀ꯭ꯂꯥꯁꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯁꯣꯞ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯇꯨꯂꯇꯤꯞ ꯄꯣꯖꯤꯁꯟ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ .{valid|invalid}-tooltip
ꯃꯗꯨꯗꯥ ꯃꯃꯥ-ꯃꯄꯥ ꯑꯃꯥ ꯁꯣꯌꯗꯅꯥ ꯂꯩꯍꯅꯒꯗꯕꯅꯤ꯫ position: relative
ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯈꯨꯗꯝ ꯑꯁꯤꯗꯥ, ꯑꯩꯈꯣꯌꯒꯤ ꯀꯣꯂꯝ ꯀ꯭ꯂꯥꯁꯁꯤꯡꯗꯥ ꯃꯁꯤ ꯍꯥꯟꯅꯅꯥ ꯂꯩꯔꯦ, ꯑꯗꯨꯕꯨ ꯅꯍꯥꯛꯀꯤ ꯄ꯭ꯔꯣꯖꯦꯛꯇ ꯑꯗꯨꯗꯥ ꯑꯇꯣꯞꯄꯥ ꯁꯦꯇꯑꯞ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯕꯥ ꯌꯥꯏ꯫
<form class="needs-validation" novalidate>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationTooltip01">First name</label>
<input type="text" class="form-control" id="validationTooltip01" value="Mark" required>
<div class="valid-tooltip">
Looks good!
</div>
</div>
<div class="col-md-6 mb-3">
<label for="validationTooltip02">Last name</label>
<input type="text" class="form-control" id="validationTooltip02" value="Otto" required>
<div class="valid-tooltip">
Looks good!
</div>
</div>
</div>
<div class="form-row">
<div class="col-md-6 mb-3">
<label for="validationTooltip03">City</label>
<input type="text" class="form-control" id="validationTooltip03" required>
<div class="invalid-tooltip">
Please provide a valid city.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationTooltip04">State</label>
<select class="custom-select" id="validationTooltip04" required>
<option selected disabled value="">Choose...</option>
<option>...</option>
</select>
<div class="invalid-tooltip">
Please select a valid state.
</div>
</div>
<div class="col-md-3 mb-3">
<label for="validationTooltip05">Zip</label>
<input type="text" class="form-control" id="validationTooltip05" required>
<div class="invalid-tooltip">
Please provide a valid zip.
</div>
</div>
</div>
<button class="btn btn-primary" type="submit">Submit form</button>
</form>
ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ꯫
$form-validation-states
ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯦꯇꯁꯤꯡ ꯑꯁꯤ ꯃꯦꯞ ꯑꯁꯤꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁꯥꯁꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯑꯩꯈꯣꯌꯒꯤ _variables.scss
ꯐꯥꯏꯂꯗꯥ ꯂꯩꯕꯥ, ꯁꯥꯁ ꯃꯦꯞ ꯑꯁꯤ ꯗꯤꯐꯣꯜꯇ valid
/ invalid
ꯚꯦꯂꯤꯗꯦꯁꯟ ꯁ꯭ꯇꯦꯠꯁꯤꯡ ꯁꯦꯃꯒꯠꯅꯕꯥ ꯂꯨꯞ ꯑꯣꯚꯔ ꯇꯧꯏ꯫ ꯔꯥꯖ꯭ꯌ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯃꯆꯨ ꯑꯃꯁꯨꯡ ꯑꯥꯏꯀꯟ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯅꯕꯥ ꯅꯦꯁ꯭ꯇꯦꯗ ꯃꯦꯞ ꯑꯃꯥ ꯌꯥꯑꯣꯔꯤ꯫ ꯑꯇꯣꯞꯄꯥ ꯔꯥꯖ꯭ꯌ ꯑꯃꯠꯇꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡꯅꯥ ꯁꯄꯣꯔꯠ ꯇꯧꯗ꯭ꯔꯤꯉꯩꯗꯥ, ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯃꯤꯑꯣꯏꯁꯤꯡꯅꯥ ꯍꯦꯟꯅꯥ ꯀꯝꯞꯂꯦꯛꯁ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯐꯤꯗꯕꯦꯛ ꯐꯖꯅꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯏ꯫
ꯆꯥꯅꯕꯤꯗꯨꯅꯥ ꯈꯉꯕꯤꯌꯨ ꯃꯗꯨꯗꯤ ꯑꯩꯈꯣꯌꯅꯥ ꯃꯤꯛꯁꯤꯅꯁꯨ ꯃꯣꯗꯤꯐꯥꯏ ꯇꯧꯗꯅꯥ ꯚꯦꯜꯌꯨꯁꯤꯡ ꯑꯁꯤ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯅꯕꯥ ꯄꯥꯎꯇꯥꯛ form-validation-state
ꯄꯤꯗꯦ꯫
// Sass map from `_variables.scss`
// Override this and recompile your Sass to generate different states
$form-validation-states: map-merge(
(
"valid": (
"color": $form-feedback-valid-color,
"icon": $form-feedback-icon-valid
),
"invalid": (
"color": $form-feedback-invalid-color,
"icon": $form-feedback-icon-invalid
)
),
$form-validation-states
);
// Loop from `_forms.scss`
// Any modifications to the above Sass map will be reflected in your compiled
// CSS via this loop.
@each $state, $data in $form-validation-states {
@include form-validation-state($state, map-get($data, color), map-get($data, icon));
}
ꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯞ ꯚꯦꯂꯤꯗꯦꯁꯟ ꯇꯧꯕꯥ꯫
ꯚꯦꯂꯤꯗꯦꯁꯅꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯞ ꯑꯃꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯀꯔꯤ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯅꯥ ꯒꯣꯜꯗ ꯀꯣꯔꯅꯔꯁꯤꯡ ꯃꯊꯧ ꯇꯥꯕꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯈꯉꯗꯣꯛꯅꯕꯥ, ꯏꯅꯄꯨꯠ ꯒ꯭ꯔꯨꯞ ꯑꯃꯅꯥ ꯑꯍꯦꯅꯕꯥ .has-validation
ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯏ꯫
<div class="input-group has-validation">
<div class="input-group-prepend">
<span class="input-group-text">@</span>
</div>
<input type="text" class="form-control" required>
<div class="invalid-feedback">
Please choose a username.
</div>
</div>
ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯃꯁꯤꯡ꯫
ꯍꯦꯟꯅꯥ ꯀꯁ꯭ꯇꯃꯔꯥꯏꯖꯦꯁꯟ ꯑꯃꯁꯨꯡ ꯀ꯭ꯔꯣꯁ ꯕ꯭ꯔꯥꯎꯖꯔ ꯀꯟꯁꯤꯁ꯭ꯇꯦꯟꯁꯤꯒꯤꯗꯃꯛ, ꯕ꯭ꯔꯥꯎꯖꯔ ꯗꯤꯐꯣꯜꯇꯁꯤꯡꯒꯤ ꯃꯍꯨꯠ ꯁꯤꯟꯅꯕꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯀꯁ꯭ꯇꯝ ꯑꯣꯏꯕꯥ ꯐꯣꯔꯝ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯧ꯫ ꯃꯈꯣꯌ ꯑꯁꯤ ꯁꯦꯃꯦꯟꯇꯤꯛ ꯑꯃꯁꯨꯡ ꯑꯦꯛꯁꯦꯁꯤꯕꯜ ꯃꯥꯔꯀꯑꯥꯄꯀꯤ ꯃꯊꯛꯇꯥ ꯁꯦꯃꯈꯤꯕꯅꯤ, ꯃꯔꯝ ꯑꯗꯨꯅꯥ ꯃꯈꯣꯌ ꯑꯁꯤ ꯗꯤꯐꯣꯜꯇ ꯐꯣꯔꯝ ꯀꯟꯠꯔꯣꯜ ꯑꯃꯍꯦꯛꯇꯒꯤ ꯁꯣꯂꯤꯗ ꯔꯤꯞꯂꯦꯁꯃꯦꯟꯇꯁꯤꯡꯅꯤ꯫
ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣꯁꯤꯡ꯫
ꯆꯦꯀꯕꯣꯛꯁ ꯈꯨꯗꯤꯡꯃꯛ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣ <input>
ꯑꯃꯁꯨꯡ <label>
ꯄꯦꯔꯤꯡ ꯑꯁꯤ <div>
ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯀꯟꯠꯔꯣꯜ ꯁꯦꯝꯅꯕꯥ ꯑꯦꯗꯥ ꯂꯣꯠꯁꯤꯜꯂꯤ꯫ ꯁ꯭ꯠꯔꯀꯆꯔꯦꯜ ꯑꯣꯏꯅꯥ ꯃꯁꯤ ꯑꯩꯈꯣꯌꯒꯤ ꯗꯤꯐꯣꯜꯇ .form-check
.
ꯑꯩꯈꯣꯌꯅꯥ ꯑꯩꯈꯣꯌꯒꯤ ꯔꯥꯖ꯭ꯌ ~
ꯄꯨꯝꯅꯃꯛꯀꯤꯗꯃꯛ ꯁꯤꯕꯂꯤꯡ ꯁꯦꯂꯦꯛꯇꯔ ( ) ꯁꯤꯖꯤꯟꯅꯩ —ꯃꯈꯣꯌꯒꯤ ꯃꯇꯨꯡ ꯏꯟꯅꯥ —ꯑꯩꯈꯣꯌꯒꯤ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯏꯟꯗꯤꯀꯦꯇꯔ ꯑꯁꯤ ꯃꯑꯣꯡ ꯆꯨꯝꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯅꯕꯥ꯫ ꯀ꯭ꯂꯥꯁꯀꯥ ꯄꯨꯅꯁꯤꯜꯂꯕꯥ ꯃꯇꯃꯗꯥ , ꯑꯩꯈꯣꯌꯅꯥ ꯑꯥꯏꯇꯦꯝ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯇꯦꯛꯁ ꯑꯗꯨ ' ꯒꯤ ꯐꯤꯚꯃꯗꯥ ꯌꯨꯝꯐꯝ ꯑꯣꯏꯔꯒꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯕꯁꯨ ꯌꯥꯏ꯫<input>
:checked
.custom-control-label
<input>
ꯑꯩꯈꯣꯌꯅꯥ ꯗꯤꯐꯣꯜꯇ <input>
ꯑꯗꯨ ꯂꯣꯠꯁꯤꯜꯂꯤ opacity
ꯑꯃꯁꯨꯡ .custom-control-label
ꯃꯗꯨꯒꯤ ꯃꯍꯨꯠꯇꯥ ꯑꯅꯧꯕꯥ ꯀꯁ꯭ꯇꯝ ꯐꯣꯔꯝ ꯏꯟꯗꯤꯀꯦꯇꯔ ꯑꯃꯥ ꯁꯦꯝꯅꯕꯥ ::before
ꯑꯃꯁꯨꯡ ::after
. ꯅꯨꯡꯉꯥꯏꯇꯕꯥ ꯋꯥꯐꯝ ꯑꯃꯅꯥ ꯑꯩꯈꯣꯌꯅꯥ ꯁꯨꯞꯅꯇꯒꯤ ꯀꯁ꯭ꯇꯝ ꯑꯃꯥ ꯁꯦꯝꯕꯥ ꯉꯃꯗꯦ <input>
ꯃꯔꯃꯗꯤ ꯁꯤ.ꯑꯦꯁ.ꯑꯦꯁ.ꯁꯤꯡꯅꯥ content
ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯗꯨꯗꯥ ꯊꯕꯛ ꯇꯧꯗꯦ꯫
ꯆꯦꯛ ꯇꯧꯔꯕꯥ ꯔꯥꯖ꯭ꯌꯁꯤꯡꯗꯥ, ꯑꯩꯈꯣꯌꯅꯥ ꯑꯣꯄꯟ ꯑꯥꯏꯀꯣꯅꯤꯛ ꯗꯒꯤ base64 ꯑꯦꯝꯕꯦꯗꯦꯗ SVG ꯑꯥꯏꯀꯅꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯩ꯫ ꯃꯁꯤꯅꯥ ꯑꯩꯈꯣꯌꯗꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯗꯤꯚꯥꯏꯁꯁꯤꯡꯒꯤ ꯃꯔꯛꯇꯥ ꯁ꯭ꯇꯥꯏꯂꯤꯡ ꯑꯃꯁꯨꯡ ꯄꯣꯖꯤꯁꯟ ꯇꯧꯕꯒꯤ ꯈ꯭ꯕꯥꯏꯗꯒꯤ ꯐꯕꯥ ꯀꯟꯠꯔꯣꯜ ꯄꯤꯔꯤ꯫
ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡ ꯌꯥꯑꯣꯔꯤ꯫
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="customCheck1">
<label class="custom-control-label" for="customCheck1">Check this custom checkbox</label>
</div>
ꯀꯁ꯭ꯇꯝ ꯆꯦꯀꯕꯣꯛꯁꯁꯤꯡꯅꯥ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯁꯦꯠ ꯇꯧꯕꯥ ꯃꯇꯃꯗꯥ ꯄ꯭ꯁꯨꯗꯣ ꯀ꯭ꯂꯥꯁ ꯑꯁꯤꯁꯨ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ :indeterminate
(ꯃꯁꯤ ꯁ꯭ꯄꯦꯁꯤꯐꯥꯏ ꯇꯧꯅꯕꯒꯤꯗꯃꯛ HTML ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯃꯠꯇꯥ ꯂꯩꯇꯦ)꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ jQuery ꯁꯤꯖꯤꯟꯅꯔꯕꯗꯤ, ꯑꯁꯤꯒꯨꯝꯕꯥ ꯋꯥꯐꯝ ꯑꯃꯥ ꯃꯇꯤꯛ ꯆꯥꯒꯗꯕꯅꯤ:
$('.your-checkbox').prop('indeterminate', true)
ꯔꯦꯗꯤꯑꯣꯁꯤꯡ ꯌꯥꯑꯣꯔꯤ꯫
<div class="custom-control custom-radio">
<input type="radio" id="customRadio1" name="customRadio" class="custom-control-input">
<label class="custom-control-label" for="customRadio1">Toggle this custom radio</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="customRadio2" name="customRadio" class="custom-control-input">
<label class="custom-control-label" for="customRadio2">Or toggle this other custom radio</label>
</div>
ꯏꯅꯂꯥꯏꯟ ꯇꯧꯕꯥ꯫
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline1" name="customRadioInline" class="custom-control-input">
<label class="custom-control-label" for="customRadioInline1">Toggle this custom radio</label>
</div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline2" name="customRadioInline" class="custom-control-input">
<label class="custom-control-label" for="customRadioInline2">Or toggle this other custom radio</label>
</div>
ꯌꯥꯍꯟꯗ꯭ꯔꯕ
ꯀꯁ꯭ꯇꯝ ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣꯁꯤꯡꯁꯨ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ disabled
ꯕꯨꯂꯦꯟ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ ꯑꯗꯨꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ <input>
ꯑꯃꯁꯨꯡ ꯀꯁ꯭ꯇꯝ ꯏꯟꯗꯤꯀꯦꯇꯔ ꯑꯃꯁꯨꯡ ꯂꯦꯕꯦꯜ ꯗꯤꯁ꯭ꯛꯔꯤꯄꯁꯟ ꯑꯗꯨ ꯑꯣꯇꯣꯃꯦꯇꯦꯗ ꯑꯣꯏꯅꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯒꯅꯤ꯫
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="customCheckDisabled1" disabled>
<label class="custom-control-label" for="customCheckDisabled1">Check this custom checkbox</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" name="radioDisabled" id="customRadioDisabled2" class="custom-control-input" disabled>
<label class="custom-control-label" for="customRadioDisabled2">Toggle this custom radio</label>
</div>
ꯁꯨꯏꯆ ꯇꯧꯕꯥ꯫
ꯁꯨꯏꯆ ꯑꯃꯗꯥ ꯀꯁ꯭ꯇꯝ ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯒꯤ ꯃꯥꯔꯀꯑꯥꯞ ꯂꯩ ꯑꯗꯨꯕꯨ .custom-switch
ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯇꯣꯒꯜ ꯁꯨꯏꯆ ꯑꯃꯥ ꯔꯦꯟꯗꯔ ꯇꯧꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯩ꯫ disabled
ꯁꯨꯏꯆꯁꯤꯡꯅꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯁꯤꯁꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="customSwitch1">
<label class="custom-control-label" for="customSwitch1">Toggle this switch element</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" disabled id="customSwitch2">
<label class="custom-control-label" for="customSwitch2">Disabled switch element</label>
</div>
ꯃꯦꯅꯨ ꯈꯜꯂꯨ꯫
ꯀꯁ꯭ꯇꯝ <select>
ꯃꯦꯅꯨꯁꯤꯡꯗꯥ ꯀꯁ꯭ꯇꯝ ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯈꯛꯇꯃꯛ ꯃꯊꯧ ꯇꯥꯏ, .custom-select
ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯇ꯭ꯔꯤꯒꯔ ꯇꯧꯅꯕꯥ꯫ ꯀꯁ꯭ꯇꯝ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ <select>
'ꯒꯤ ꯑꯍꯥꯅꯕꯥ ꯃꯑꯣꯡ-ꯃꯇꯧꯗꯥ ꯂꯤꯃꯤꯠ ꯂꯩ ꯑꯃꯁꯨꯡ <option>
ꯕ꯭ꯔꯥꯎꯖꯔꯒꯤ ꯂꯤꯃꯤꯇꯦꯁꯅꯁꯤꯡꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ s ꯑꯁꯤ ꯃꯣꯗꯤꯐꯥꯏ ꯇꯧꯕꯥ ꯉꯃꯗꯦ꯫
<select class="custom-select">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
ꯑꯩꯈꯣꯌꯒꯤ ꯃꯥꯟꯅꯕꯥ ꯁꯥꯏꯖꯒꯤ ꯇꯦꯛꯁꯠ ꯏꯅꯄꯨꯠꯁꯤꯡꯒꯥ ꯃꯥꯟꯅꯕꯥ ꯑꯄꯤꯀꯄꯥ ꯑꯃꯁꯨꯡ ꯑꯆꯧꯕꯥ ꯀꯁ꯭ꯇꯝ ꯁꯦꯂꯦꯛꯇꯁꯤꯡꯗꯒꯤꯁꯨ ꯅꯍꯥꯛꯅꯥ ꯈꯅꯕꯤꯕꯥ ꯌꯥꯏ꯫
<select class="custom-select custom-select-lg mb-3">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
<select class="custom-select custom-select-sm">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
ꯑꯦꯠꯔꯤꯕꯤꯎꯠ multiple
ꯑꯁꯤꯁꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ:
<select class="custom-select" multiple>
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
size
ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨꯒꯨꯝꯅꯥ :
<select class="custom-select" size="3">
<option selected>Open this select menu</option>
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</select>
ꯆꯥꯡ
ꯂꯣꯌꯅꯅꯥ ꯀꯁ꯭ꯇꯝ <input type="range">
ꯀꯟꯠꯔꯣꯂꯁꯤꯡ ꯁꯦꯃꯒꯠꯄꯥ .custom-range
. ꯇ꯭ꯔꯦꯛ (ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ) ꯑꯃꯁꯨꯡ ꯊꯨꯝ (ꯚꯦꯜꯌꯨ) ꯑꯅꯤꯃꯛ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯇꯥ ꯆꯞ ꯃꯥꯟꯅꯕꯥ ꯃꯑꯣꯡꯗꯥ ꯎꯕꯥ ꯐꯪꯅꯕꯥ ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯏ꯫ ꯑꯥꯏ.ꯏ. ꯑꯃꯁꯨꯡ ꯐꯥꯏꯔꯐꯛꯁ ꯈꯛꯇꯅꯥ ꯄ꯭ꯔꯣꯒ꯭ꯔꯦꯁ ꯑꯗꯨ ꯚꯤꯖꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯇꯥꯛꯅꯕꯒꯤ ꯄꯥꯝꯕꯩ ꯑꯃꯥ ꯑꯣꯏꯅꯥ ꯊꯨꯃꯖꯤꯅꯕꯥ ꯅꯠꯠꯔꯒꯥ ꯑꯔꯥꯞꯄꯗꯒꯤ ꯃꯈꯣꯌꯒꯤ ꯇ꯭ꯔꯦꯛ ꯑꯗꯨ “ꯐꯤꯜ ꯇꯧꯕꯥ” ꯁꯄꯣꯔꯠ ꯇꯧꯕꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ, ꯑꯩꯈꯣꯌꯅꯥ ꯍꯧꯖꯤꯛ ꯃꯁꯤ ꯁꯄꯣꯔꯠ ꯇꯧꯗꯦ꯫
<label for="customRange1">Example range</label>
<input type="range" class="custom-range" id="customRange1">
ꯔꯦꯟꯖ ꯏꯅꯄꯨꯠꯁꯤꯡꯗꯥ ꯃꯊꯪꯁꯤꯠꯅꯥ min
ꯑꯃꯁꯨꯡ max
— 0
ꯑꯃꯁꯨꯡ ,ꯒꯤꯗꯃꯛ ꯏꯝꯞꯂꯤꯁꯤꯠ ꯚꯦꯜꯌꯨꯁꯤꯡ ꯂꯩ꯫ ꯑꯃꯁꯨꯡ ꯑꯦꯠꯔꯤꯕꯤꯎꯇꯁꯤꯡ 100
ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯃꯤꯑꯣꯏꯁꯤꯡꯒꯤꯗꯃꯛ ꯅꯍꯥꯛꯅꯥ ꯑꯅꯧꯕꯥ ꯚꯦꯜꯌꯨꯁꯤꯡ ꯇꯥꯀꯄꯥ ꯌꯥꯏ꯫min
max
<label for="customRange2">Example range</label>
<input type="range" class="custom-range" min="0" max="5" id="customRange2">
ꯗꯤꯐꯣꯜꯇ ꯑꯣꯏꯅꯥ, ꯔꯦꯟꯖ ꯏꯅꯄꯨꯠꯁꯤꯡꯅꯥ ꯏꯟꯇꯤꯖꯔ ꯚꯦꯜꯌꯨꯁꯤꯡꯗꯥ “ꯁ꯭ꯅꯦꯞ” ꯇꯧꯏ꯫ ꯃꯁꯤ ꯍꯣꯡꯗꯣꯛꯅꯕꯥ, ꯅꯍꯥꯛꯅꯥ step
ꯚꯦꯜꯌꯨ ꯑꯃꯥ ꯇꯥꯀꯄꯥ ꯌꯥꯏ꯫ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤꯕꯥ ꯈꯨꯗꯝ ꯑꯁꯤꯗꯥ ꯑꯩꯈꯣꯌꯅꯥ step="0.5"
.
<label for="customRange3">Example range</label>
<input type="range" class="custom-range" min="0" max="5" step="0.5" id="customRange3">
ꯐꯥꯏꯜ ꯕ꯭ꯔꯥꯎꯖꯔ ꯇꯧꯕꯥ꯫
ꯐꯥꯏꯜ ꯏꯅꯄꯨꯠ ꯑꯁꯤ ꯕꯟꯆ ꯑꯁꯤꯒꯤ ꯈ꯭ꯕꯥꯏꯗꯒꯤ ꯒ꯭ꯅꯥꯔꯂꯤꯅꯤ ꯑꯃꯁꯨꯡ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯃꯈꯣꯌꯕꯨ ꯐꯉ꯭ꯀꯁ꯭ꯅꯦꯜ ꯆꯣꯏꯁ ꯐꯥꯏꯜ... ꯑꯃꯁꯨꯡ ꯈꯅꯒꯠꯂꯕꯥ ꯐꯥꯏꯂꯒꯤ ꯃꯃꯤꯡ ꯇꯦꯛꯁꯠꯀꯥ ꯂꯣꯌꯅꯅꯥ ꯍꯨꯛ ꯇꯧꯕꯥ ꯄꯥꯝꯂꯕꯗꯤ ꯑꯍꯦꯅꯕꯥ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯃꯊꯧ ꯇꯥꯏ꯫
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile">
<label class="custom-file-label" for="customFile">Choose file</label>
</div>
ꯑꯩꯈꯣꯌꯅꯥ ꯗꯤꯐꯣꯜꯇ ꯐꯥꯏꯜ ꯑꯗꯨ ꯂꯣꯠꯁꯤꯜꯂꯤ <input>
ꯑꯃꯁꯨꯡ opacity
ꯃꯗꯨꯒꯤ ꯃꯍꯨꯠꯇꯥ <label>
. ꯕꯇꯟ ꯑꯁꯤ ꯖꯦꯅꯦꯔꯦꯠ ꯇꯧꯏ ꯑꯃꯁꯨꯡ ꯄꯣꯖꯤꯁꯟ ꯇꯧꯏ ::after
. ꯑꯔꯣꯏꯕꯗꯥ, ꯑꯩꯈꯣꯌꯅꯥ ꯑꯀꯣꯌꯕꯗꯥ ꯂꯩꯕꯥ ꯀꯟꯇꯦꯟꯇꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯃꯇꯤꯛ ꯆꯥꯕꯥ ꯁ꯭ꯄꯦꯁꯤꯡꯒꯤꯗꯃꯛ ꯑꯦ width
ꯑꯃꯁꯨꯡ height
ꯑꯣꯟ ꯗꯤ ꯂꯥꯎꯊꯣꯛꯂꯤ꯫<input>
SCSSꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁ꯭ꯠꯔꯤꯡꯁꯤꯡ ꯍꯟꯗꯣꯀꯄꯥ ꯅꯠꯠꯔꯒꯥ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ꯫
:lang()
ꯄ꯭ꯁꯨꯗꯣ-ꯀ꯭ꯂꯥꯁ ꯑꯁꯤ “ꯕ꯭ꯔꯥꯎꯖ” ꯇꯦꯛꯁ ꯑꯗꯨ ꯑꯇꯣꯞꯄꯥ ꯂꯣꯂꯁꯤꯡꯗꯥ ꯍꯟꯗꯣꯀꯄꯥ ꯌꯥꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯩ꯫ $custom-file-text
ꯃꯔꯤ ꯂꯩꯅꯕꯥ ꯂꯣꯜ ꯇꯦꯒ ꯑꯃꯁꯨꯡ ꯂꯣꯀꯦꯂꯥꯏꯖ ꯇꯧꯔꯕꯥ ꯁ꯭ꯠꯔꯤꯡꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁꯥꯁ ꯚꯦꯔꯤꯑꯦꯕꯂꯗꯥ ꯑꯦꯟꯠꯔꯤꯁꯤꯡ ꯑꯣꯚꯔꯔꯥꯏꯗ ꯇꯧꯕꯥ ꯅꯠꯔꯒꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ꯫ ꯏꯪꯂꯤꯁꯀꯤ ꯁ꯭ꯠꯔꯤꯡꯁꯤꯡ ꯑꯁꯤꯁꯨ ꯑꯗꯨꯃꯛ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, ꯃꯐꯃꯁꯤꯗꯥ ꯀꯅꯥꯒꯨꯝꯕꯥ ꯑꯃꯅꯥ ꯁ꯭ꯄꯦꯅꯤꯁꯀꯤ ꯍꯟꯗꯣꯀꯄꯥ ꯑꯃꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯕꯒꯦ ꯍꯥꯌꯕꯗꯨ ꯃꯈꯥꯗꯥ ꯄꯤꯔꯤ (ꯁ꯭ꯄꯦꯅꯤꯁꯀꯤ ꯂꯣꯂꯒꯤ ꯀꯣꯗ ꯑꯁꯤ es
):
$custom-file-text: (
en: "Browse",
es: "Elegir"
);
lang(es)
ꯁ꯭ꯄꯦꯅꯤꯁ ꯍꯟꯗꯣꯀꯄꯒꯤꯗꯃꯛ ꯀꯁ꯭ꯇꯝ ꯐꯥꯏꯜ ꯏꯅꯄꯨꯠꯀꯤ ꯃꯇꯥꯡꯗꯥ ꯃꯈꯥꯗꯥ ꯑꯦꯛꯁꯟ ꯇꯧꯔꯤ:
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFileLang" lang="es">
<label class="custom-file-label" for="customFileLang">Seleccionar Archivo</label>
</div>
ꯑꯆꯨꯝꯕꯥ ꯇꯦꯛꯁꯠ ꯑꯗꯨ ꯎꯠꯅꯕꯒꯤꯗꯃꯛ ꯅꯍꯥꯛꯀꯤ ꯗꯣꯛꯌꯨꯃꯦꯟꯇ ꯑꯗꯨꯒꯤ ꯂꯣꯜ (ꯅꯠꯠꯔꯒꯥ ꯃꯗꯨꯒꯤ ꯁꯕꯠꯔꯤ) ꯑꯗꯨ ꯃꯌꯦꯛ ꯁꯦꯡꯅꯥ ꯁꯦꯠ ꯇꯧꯕꯥ ꯃꯊꯧ ꯇꯥꯏ꯫ ꯃꯁꯤ ꯑꯇꯩ ꯃꯦꯊꯗꯁꯤꯡꯒꯤ ꯃꯔꯛꯇꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯗꯨꯗꯥ ꯂꯩꯕꯥ lang
ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯅꯠꯠꯔꯒꯥ HTTP ꯍꯦꯗ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯄꯥꯡꯊꯣꯀꯄꯥ ꯌꯥꯏ꯫<html>
Content-Language
HTML ꯒꯤ ꯃꯇꯦꯡꯅꯥ ꯁ꯭ꯠꯔꯤꯡꯁꯤꯡ ꯍꯟꯗꯣꯀꯄꯥ ꯅꯠꯠꯔꯒꯥ ꯀꯁ꯭ꯇꯃꯁ ꯇꯧꯕꯥ꯫
data-browse
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯅꯥ ꯀꯁ꯭ꯇꯝ ꯏꯅꯄꯨꯠ ꯂꯦꯕꯦꯂꯗꯥ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯕꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨꯒꯥ ꯂꯣꯌꯅꯅꯥ HTMLꯗꯥ “ꯕ꯭ꯔꯥꯎꯖ” ꯇꯦꯛꯁꯠ ꯍꯟꯗꯣꯀꯄꯒꯤ ꯃꯑꯣꯡ ꯑꯃꯁꯨ ꯄꯤꯔꯤ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ ꯗꯆ꯭ꯁꯇꯥ):
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFileLangHTML">
<label class="custom-file-label" for="customFileLangHTML" data-browse="Bestand kiezen">Voeg je document toe</label>
</div>