ꯕꯇꯅꯁꯤꯡ ꯌꯥꯑꯣꯔꯤ꯫
ꯃꯁꯤꯡ ꯌꯥꯝꯂꯕꯥ ꯁꯥꯏꯖꯁꯤꯡ, ꯔꯥꯖ꯭ꯌꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯑꯇꯩ ꯀꯌꯥꯒꯤ ꯁꯄꯣꯔꯠ ꯂꯩꯕꯥ ꯐꯣꯔꯃꯁꯤꯡ, ꯗꯥꯏꯂꯣꯒꯁꯤꯡ, ꯑꯃꯁꯨꯡ ꯑꯇꯩꯗꯥ ꯑꯦꯛꯁꯅꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ ꯕꯨꯇꯁ꯭ꯠꯔꯥꯄꯀꯤ ꯀꯁ꯭ꯇꯝ ꯕꯇꯟ ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯧ꯫
ꯈꯨꯗꯃꯁꯤꯡ꯫
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯇꯥ ꯃꯃꯥꯡꯗꯥ ꯂꯦꯄꯊꯣꯀꯈ꯭ꯔꯕꯥ ꯕꯇꯟ ꯃꯑꯣꯡ ꯀꯌꯥ ꯑꯃꯥ ꯌꯥꯑꯣꯔꯤ, ꯃꯈꯣꯌ ꯈꯨꯗꯤꯡꯃꯛꯅꯥ ꯃꯁꯥꯒꯤ ꯑꯣꯏꯕꯥ ꯁꯦꯃꯦꯟꯇꯤꯛ ꯄꯥꯟꯗꯝ ꯑꯗꯨ ꯐꯪꯍꯜꯂꯤ, ꯃꯁꯤꯗꯥ ꯑꯍꯦꯅꯕꯥ ꯀꯟꯠꯔꯣꯂꯒꯤꯗꯃꯛꯇꯥ ꯊꯥꯗꯣꯀꯄꯥ ꯑꯍꯦꯅꯕꯥ ꯈꯔꯥ ꯌꯥꯑꯣꯔꯤ꯫
<button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
<button type="button" class="btn btn-danger">Danger</button>
<button type="button" class="btn btn-warning">Warning</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-dark">Dark</button>
<button type="button" class="btn btn-link">Link</button>
ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯗꯥ ꯑꯔꯊ ꯄꯤꯕꯥ꯫
ꯑꯔꯊ ꯍꯥꯄꯆꯤꯟꯅꯕꯥ ꯃꯆꯨ ꯁꯤꯖꯤꯟꯅꯕꯅꯥ ꯚꯤꯖꯨꯑꯦꯜ ꯏꯟꯗꯤꯀꯦꯁꯟ ꯑꯃꯥ ꯈꯛꯇꯃꯛ ꯄꯤꯔꯤ, ꯃꯁꯤ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯁꯤꯡꯗꯥ – ꯁ꯭ꯛꯔꯤꯟ ꯔꯤꯗꯔꯒꯨꯝꯕꯥ – ꯌꯧꯍꯅꯕꯥ ꯉꯝꯂꯣꯏ꯫ .sr-only
ꯃꯆꯨ ꯑꯗꯨꯅꯥ ꯇꯥꯀꯄꯥ ꯏꯅꯐꯣꯔꯃꯦꯁꯟ ꯑꯗꯨ ꯀꯟꯇꯦꯟꯇ ꯃꯁꯥꯃꯛꯇꯒꯤ (ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, ꯎꯕꯥ ꯐꯪꯂꯤꯕꯥ ꯇꯦꯛꯁꯠ ꯑꯗꯨꯗꯒꯤ) ꯃꯌꯦꯛ ꯁꯦꯡꯅꯥ ꯎꯕꯥ ꯐꯪꯏ ꯍꯥꯌꯕꯥ ꯁꯣꯌꯗꯅꯥ ꯈꯪꯗꯣꯀꯎ, ꯅꯠꯠꯔꯒꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯂꯣꯠꯁꯤꯜꯂꯕꯥ ꯑꯍꯦꯅꯕꯥ ꯇꯦꯛꯁꯇꯒꯨꯝꯕꯥ ꯑꯂꯇꯔꯅꯦꯇꯤꯚ ꯑꯣꯏꯕꯥ ꯄꯥꯝꯕꯩꯁꯤꯡꯒꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯌꯥꯎꯍꯅꯕꯥ꯫
ꯇꯦꯛꯁꯠ ꯔꯦꯄꯤꯡ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯣ꯫
ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯕꯇꯟ ꯇꯦꯛꯁꯠ ꯑꯗꯨ ꯔꯦꯞ ꯇꯧꯕꯥ ꯄꯥꯃꯗ꯭ꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ .text-nowrap
ꯕꯇꯟ ꯑꯗꯨꯗꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯍꯥꯄꯆꯤꯅꯕꯥ ꯌꯥꯏ꯫ ꯁꯥꯁꯇꯥ, ꯅꯍꯥꯛꯅꯥ $btn-white-space: nowrap
ꯕꯇꯟ ꯈꯨꯗꯤꯡꯃꯛꯀꯤ ꯇꯦꯛꯁꯠ ꯔꯦꯄꯤꯡ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯁꯦꯠ ꯇꯧꯕꯥ ꯌꯥꯏ꯫
ꯕꯇꯟ ꯇꯦꯒꯁꯤꯡ꯫
ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯁꯤ ꯑꯦꯂꯤꯃꯦꯟꯇ .btn
ꯑꯗꯨꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯁꯤꯖꯤꯟꯅꯅꯕꯥ ꯗꯤꯖꯥꯏꯟ ꯇꯧꯕꯅꯤ꯫ <button>
ꯑꯗꯨꯝ ꯑꯣꯏꯅꯃꯛ, ꯅꯍꯥꯛꯅꯥ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯁꯤ ꯑꯣꯟ <a>
ꯅꯠꯠꯔꯒꯥ <input>
ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯗꯁꯨ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯌꯥꯏ (ꯕ꯭ꯔꯥꯎꯖꯔ ꯈꯔꯅꯥ ꯈꯔꯥ ꯇꯣꯉꯥꯅꯕꯥ ꯔꯦꯟꯗꯔ ꯑꯃꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ ꯌꯥꯏ)꯫
ꯏꯟ-ꯄꯦꯖ ꯐꯉ꯭ꯀꯁꯅꯦꯂꯤꯇꯤ ꯇ꯭ꯔꯤꯒꯔ ꯇꯧꯅꯕꯥ ꯁꯤꯖꯤꯟꯅꯕꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯗꯥ ꯕꯇꯟ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯕꯗꯥ <a>
(ꯀꯂꯥꯞꯄꯤꯡ ꯀꯟꯇꯦꯟꯇꯒꯨꯝꯕꯥ), ꯍꯧꯖꯤꯛ ꯂꯩꯔꯤꯕꯥ ꯄꯦꯖ ꯑꯁꯤꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯑꯅꯧꯕꯥ ꯄꯦꯖꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯁꯦꯛꯁꯅꯁꯤꯡꯒꯥ ꯂꯤꯉ꯭ꯛ ꯇꯧꯕꯒꯤ ꯃꯍꯨꯠꯇꯥ, ꯂꯤꯉ꯭ꯀꯁꯤꯡ ꯑꯁꯤꯅꯥ role="button"
ꯃꯈꯣꯌꯒꯤ ꯄꯥꯟꯗꯝ ꯑꯗꯨ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯒꯨꯝꯕꯥ ꯃꯇꯦꯡ ꯄꯥꯡꯅꯕꯥ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯗꯥ ꯃꯇꯤꯛ ꯆꯥꯅꯥ ꯌꯧꯍꯟꯅꯕꯥ a ꯄꯤꯒꯗꯕꯅꯤ꯫ ꯁ꯭ꯛꯔꯤꯟ ꯔꯤꯗꯔꯁꯤꯡ ꯌꯥꯑꯣꯔꯤ꯫
<a class="btn btn-primary" href="#" role="button">Link</a>
<button class="btn btn-primary" type="submit">Button</button>
<input class="btn btn-primary" type="button" value="Input">
<input class="btn btn-primary" type="submit" value="Submit">
<input class="btn btn-primary" type="reset" value="Reset">
ꯑꯥꯎꯇꯂꯥꯏꯟ ꯕꯇꯅꯁꯤꯡ꯫
ꯕꯇꯟ ꯑꯃꯥ ꯃꯊꯧ ꯇꯥꯔꯤ, ꯑꯗꯨꯕꯨ ꯃꯈꯣꯌꯅꯥ ꯄꯨꯔꯀꯄꯥ ꯍꯦꯐꯇꯤ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯃꯆꯨꯁꯤꯡ ꯑꯗꯨꯗꯤ ꯅꯠꯇꯦ? .btn-outline-*
ꯕꯇꯟ ꯑꯃꯍꯦꯛꯇꯗꯥ ꯂꯩꯕꯥ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ ꯏꯃꯦꯖ ꯑꯃꯁꯨꯡ ꯃꯆꯨ ꯄꯨꯝꯅꯃꯛ ꯂꯧꯊꯣꯛꯅꯕꯥ ꯗꯤꯐꯣꯜꯇ ꯃꯣꯗꯤꯐꯥꯏꯌꯔ ꯀ꯭ꯂꯥꯁꯁꯤꯡ ꯑꯗꯨꯒꯥ ꯃꯍꯨꯠ ꯁꯤꯜꯂꯨ꯫
<button type="button" class="btn btn-outline-primary">Primary</button>
<button type="button" class="btn btn-outline-secondary">Secondary</button>
<button type="button" class="btn btn-outline-success">Success</button>
<button type="button" class="btn btn-outline-danger">Danger</button>
<button type="button" class="btn btn-outline-warning">Warning</button>
<button type="button" class="btn btn-outline-info">Info</button>
<button type="button" class="btn btn-outline-light">Light</button>
<button type="button" class="btn btn-outline-dark">Dark</button>
ꯁꯥꯏꯖꯁꯤꯡ꯫
ꯐꯦꯟꯁꯤ ꯑꯆꯧꯕꯥ ꯅꯠꯠꯔꯒꯥ ꯑꯄꯤꯀꯄꯥ ꯕꯇꯅꯁꯤꯡ? ꯑꯍꯦꯅꯕꯥ ꯁꯥꯏꯖꯁꯤꯡꯒꯤꯗꯃꯛꯇꯥ .btn-lg
ꯅꯠꯠꯔꯒꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫.btn-sm
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<button type="button" class="btn btn-secondary btn-lg">Large button</button>
<button type="button" class="btn btn-primary btn-sm">Small button</button>
<button type="button" class="btn btn-secondary btn-sm">Small button</button>
ꯕ꯭ꯂꯣꯛ ꯂꯦꯚꯦꯜ ꯕꯇꯅꯁꯤꯡ ꯁꯦꯝꯃꯨ-ꯃꯃꯥ-ꯃꯄꯥ ꯑꯃꯒꯤ ꯃꯄꯨꯡꯐꯥꯕꯥ ꯄꯥꯛ-ꯆꯥꯎꯕꯥ ꯑꯗꯨ ꯁꯦꯃꯗꯣꯛ-ꯁꯦꯃꯖꯤꯟ ꯇꯧꯗꯨꯅꯥ .btn-block
.
<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
<button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
ꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯕꯥ ꯔꯥꯖ꯭ꯌ꯫
ꯍꯦꯟꯅꯥ ꯃꯌꯦꯛ ꯁꯦꯡꯕꯥ ꯕꯦꯀꯒ꯭ꯔꯥꯎꯟꯗ, ꯑꯟꯙ꯭ꯔ ꯑꯣꯏꯕꯥ ꯉꯃꯈꯩ, ꯑꯃꯁꯨꯡ, ꯁꯦꯗꯣꯡꯁꯤꯡ ꯏꯅꯦꯕꯜ ꯇꯧꯕꯥ ꯃꯇꯃꯗꯥ, ꯏꯅꯁꯦꯠ ꯁꯦꯗꯣꯡ ꯑꯃꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯕꯥ ꯃꯇꯃꯗꯥ ꯕꯇꯅꯁꯤꯡ ꯑꯗꯨ ꯄ꯭ꯔꯦꯁ ꯇꯧꯗꯨꯅꯥ ꯎꯕꯥ ꯐꯪꯒꯅꯤ꯫ ꯃꯈꯣꯌꯅꯥ ꯁ꯭ꯌꯨꯗꯣ-ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯁꯤꯖꯤꯟꯅꯕꯅꯥ ꯃꯔꯝ ꯑꯣꯏꯗꯨꯅꯥ s ꯗꯥ ꯀ꯭ꯂꯥꯁ ꯑꯃꯥ ꯍꯥꯄꯆꯤꯅꯕꯒꯤ ꯃꯊꯧ ꯇꯥꯗꯦ<button>
. ꯑꯗꯨꯝ ꯑꯣꯏꯅꯃꯛ, ꯅꯍꯥꯛꯅꯥ ꯁ꯭ꯇꯦꯠ ꯑꯗꯨ ꯄ꯭ꯔꯣꯒ꯭ꯔꯥꯃꯦꯇꯤꯛ ꯑꯣꯏꯅꯥ ꯔꯤꯞꯂꯤꯀꯦꯠ ꯇꯧꯕꯥ ꯃꯊꯧ ꯇꯥꯔꯕꯗꯤ , ꯅꯍꯥꯛꯅꯥ ꯍꯧꯖꯤꯀꯁꯨ ꯆꯞ ꯃꯥꯟꯅꯕꯥ ꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯕꯥ ꯃꯑꯣꯡ ꯑꯗꯨꯒꯥ ꯂꯣꯌꯅꯅꯥ .active
(ꯑꯃꯁꯨꯡ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ ꯌꯥꯎꯍꯅꯕꯥ ) ���ꯣꯔꯁ ꯇꯧꯕꯥ ꯌꯥꯏ꯫aria-pressed=“true”
<a href="#" class="btn btn-primary btn-lg active" role="button" aria-pressed="true">Primary link</a>
<a href="#" class="btn btn-secondary btn-lg active" role="button" aria-pressed="true">Link</a>
ꯗꯤꯁꯑꯦꯕꯜ ꯑꯣꯏꯔꯕꯥ ꯁ꯭ꯇꯦꯠ꯫
ꯑꯦꯂꯤꯃꯦꯟꯇ disabled
ꯑꯃꯍꯦꯛꯇꯗꯥ ꯕꯨꯂꯦꯟ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯍꯥꯄꯆꯤꯟꯗꯨꯅꯥ ꯕꯇꯅꯁꯤꯡ ꯑꯁꯤ ꯏꯅꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯅꯥ ꯎꯍꯅꯒꯗꯕꯅꯤ꯫<button>
<button type="button" class="btn btn-lg btn-primary" disabled>Primary button</button>
<button type="button" class="btn btn-secondary btn-lg" disabled>Button</button>
ꯑꯦꯂꯤꯃꯦꯟꯇ ꯁꯤꯖꯤꯟꯅꯗꯨꯅꯥ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯕꯇꯅꯁꯤꯡꯅꯥ <a>
ꯈꯔꯥ ꯇꯣꯉꯥꯅꯕꯥ ꯃꯑꯣꯡꯗꯥ ꯂꯃꯆꯠ ꯁꯥꯖꯠ ꯆꯠꯂꯤ:
<a>
sꯅꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯗꯦ , ꯃꯔꯝ ꯑꯗꯨꯅꯥ ꯅꯍꯥꯛꯅꯥ ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯚꯤꯖꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯗꯤꯁꯦꯕꯜ ꯑꯣꯏꯅꯥ ꯎꯕꯥ ꯐꯪꯍꯟꯅꯕꯥdisabled
ꯍꯥꯄꯆꯤꯅꯒꯗꯕꯅꯤ꯫.disabled
pointer-events
ꯑꯦꯉ꯭ꯀꯔ ꯕꯇꯅꯁꯤꯡꯗꯥ ꯄꯨꯝꯅꯃꯛ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯇꯨꯡꯒꯤ ꯑꯣꯏꯕꯥ ꯃꯑꯣꯡ ꯈꯔꯗꯤ ꯌꯥꯑꯣꯔꯤ꯫ ꯄ꯭ꯔꯣꯄꯔꯇꯤ ꯑꯗꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯔꯤꯕꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡꯗꯥ, ꯅꯍꯥꯛꯅꯥ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯀꯔꯁꯔ ꯑꯗꯨ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯎꯕꯥ ꯐꯪꯂꯣꯏ꯫- ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯗꯤꯁꯑꯦꯕꯜ ꯑꯣꯏꯔꯕꯥ ꯕꯇꯅꯁꯤꯡꯗꯥ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡꯗꯥ ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯗꯨꯒꯤ ꯐꯤꯚꯝ ꯑꯗꯨ ꯇꯥꯛꯅꯕꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ
<a>
ꯌꯥꯎꯒꯗꯕꯅꯤ꯫aria-disabled="true"
- ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯥ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯕꯇꯅꯁꯤꯡꯗꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ
<a>
ꯑꯗꯨ ꯌꯥꯎꯔꯣꯏꯗꯕꯅꯤ꯫href
<a class="btn btn-primary btn-lg disabled" role="button" aria-disabled="true">Primary link</a>
<a class="btn btn-secondary btn-lg disabled" role="button" aria-disabled="true">Link</a>
ꯂꯤꯉ꯭ꯛ ꯐꯉ꯭ꯀꯁꯅꯦꯂꯤꯇꯤ ꯀꯦꯚꯦꯠ ꯇꯧꯕꯥ꯫
href
ꯅꯍꯥꯛꯅꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯗꯨ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯔꯕꯥ ꯂꯤꯉ꯭ꯛ ꯑꯃꯗꯥ ꯊꯃꯒꯗꯕꯥ ꯀꯦꯁꯁꯤꯡ ꯀꯣꯚꯔ ꯇꯧꯅꯕꯥ , .disabled
ꯀ꯭ꯂꯥꯁ pointer-events: none
ꯑꯗꯨꯅꯥ s.ꯒꯤ ꯂꯤꯉ꯭ꯛ ꯐꯉ꯭ꯀꯁꯅꯦꯂꯤꯇꯤ ꯑꯗꯨ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯍꯣꯠꯅꯕꯗꯥ <a>
ꯁꯤꯖꯤꯟꯅꯩ꯫ ꯃꯁꯤꯒꯤ CSS ꯄ꯭ꯔꯣꯄꯔꯇꯤ ꯑꯁꯤ HTMLꯒꯤꯗꯃꯛꯇꯥ ꯍꯧꯖꯤꯛ ꯐꯥꯎꯕꯥ ꯁ꯭ꯇꯦꯟꯗꯔꯗꯥꯏꯖ ꯇꯧꯗ꯭ꯔꯤ ꯍꯥꯌꯕꯁꯤ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ, ꯑꯗꯨꯕꯨ ꯃꯣꯗꯔꯟ ꯕ꯭ꯔꯥꯎꯖꯔ ꯄꯨꯝꯅꯃꯛꯅꯥ ꯃꯁꯤꯕꯨ ꯁꯄꯣꯔꯠ ꯇꯧꯏ꯫ ꯃꯁꯤꯒꯤ ꯃꯊꯛꯇꯥ, ꯁꯄꯣꯔꯠ ꯇꯧꯔꯤꯕꯥ ꯕ꯭ꯔꯥꯎꯖꯔꯁꯤꯡꯗꯁꯨ pointer-events: none
, ꯀꯤꯕꯣꯔꯗ ꯅꯦꯚꯤꯒꯦꯁꯟ ꯑꯁꯤ ꯁꯣꯀꯍꯟꯗꯅꯥ ꯂꯩꯔꯤ, ꯃꯁꯤꯅꯥ ꯇꯥꯀꯄꯗꯤ ꯃꯤꯠ ꯎꯗꯕꯥ ꯀꯤꯕꯣꯔꯗ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯁꯤꯡ ꯑꯃꯁꯨꯡ ꯑꯦꯁꯤꯁ꯭ꯇꯦꯟꯇ ꯇꯦꯛꯅꯣꯂꯣꯖꯤꯁꯤꯡ ꯁꯤꯖꯤꯟꯅꯔꯤꯕꯁꯤꯡꯅꯥ ꯍꯧꯖꯤꯀꯁꯨ ꯂꯤꯉ꯭ꯀꯁꯤꯡ ꯑꯁꯤ ꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯍꯅꯕꯥ ꯉꯃꯒꯅꯤ꯫ ꯑꯗꯨꯅꯥ ꯁꯦꯐ ꯑꯣꯏꯅꯕꯒꯤꯗꯃꯛ, ꯒꯤ ꯃꯊꯛꯇꯥ aria-disabled="true"
, ꯂꯤꯉ꯭ꯀꯁꯤꯡ ꯑꯁꯤꯗꯥ ꯑꯦꯠꯔꯤꯕꯤꯎꯠ ꯑꯃꯁꯨ ꯌꯥꯑꯣꯍꯅꯕꯤꯌꯨ tabindex="-1"
ꯃꯗꯨꯅꯥ ꯃꯈꯣꯌꯅꯥ ꯀꯤꯕꯣꯔꯗ ꯐꯣꯀꯁ ꯐꯪꯍꯟꯗꯅꯕꯥ, ꯑꯃꯁꯨꯡ ꯃꯈꯣꯌꯒꯤ ꯐꯉ꯭ꯀꯁꯅꯦꯂꯤꯇꯤ ꯑꯗꯨ ꯃꯄꯨꯡ ꯐꯥꯅꯥ ꯗꯤꯁꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯀꯁ꯭ꯇꯝ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇ ꯁꯤꯖꯤꯟꯅꯧ꯫
<a href="#" class="btn btn-primary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Primary link</a>
<a href="#" class="btn btn-secondary btn-lg disabled" tabindex="-1" role="button" aria-disabled="true">Link</a>
ꯕꯇꯟ ꯄ꯭ꯂꯒꯏꯟ ꯇꯧꯕꯥ꯫
ꯕꯇꯅꯁꯤꯡꯒꯥ ꯂꯣꯌꯅꯅꯥ ꯍꯦꯟꯅꯥ ꯇꯧ꯫ ꯀꯟꯠꯔꯣꯜ ꯕꯇꯟ ꯁ꯭ꯇꯦꯠ ꯇꯧꯏ ꯅꯠꯠꯔꯒꯥ ꯇꯨꯂꯕꯥꯔꯒꯨꯝꯕꯥ ꯑꯍꯦꯅꯕꯥ ꯀꯝꯄꯣꯅꯦꯟꯇꯁꯤꯡꯒꯤꯗꯃꯛ ꯕꯇꯅꯁꯤꯡꯒꯤ ꯀꯥꯡꯂꯨꯄꯁꯤꯡ ꯁꯦꯝꯃꯤ꯫
ꯔꯥꯖ꯭ꯌꯁꯤꯡ ꯇꯣꯒꯜ ꯇꯧꯕꯥ꯫
data-toggle="button"
ꯕꯇꯟ ꯑꯃꯒꯤ active
ꯁ꯭ꯇꯦꯠ ꯇꯣꯒꯜ ꯇꯧꯅꯕꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯕꯇꯟ ꯑꯃꯥ ꯄ꯭ꯔꯤ-ꯇꯣꯒꯜ ꯇꯧꯔꯕꯗꯤ, ꯅꯍꯥꯛꯅꯥ .active
ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯍꯥꯄꯀꯗꯕꯅꯤ ꯑꯃꯁꯨꯡ .aria-pressed="true"
<button>
<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
Single toggle
</button>
ꯆꯦꯀꯕꯣꯛꯁ ꯑꯃꯁꯨꯡ ꯔꯦꯗꯤꯑꯣ ꯕꯇꯅꯁꯤꯡ꯫
ꯕꯨꯠꯁ꯭ꯠꯔꯥꯄꯀꯤ .button
ꯁ꯭ꯇꯥꯏꯂꯁꯤꯡ ꯑꯁꯤ ꯑꯇꯣꯞꯄꯥ ꯑꯦꯂꯤꯃꯦꯟꯇꯁꯤꯡꯗꯥ, ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ <label>
, ꯆꯦꯀꯕꯣꯛꯁ ꯅꯠꯠꯔꯒꯥ ꯔꯦꯗꯤꯑꯣ ꯁ꯭ꯇꯥꯏꯜ ꯕꯇꯟ ꯇꯣꯒꯂꯤꯡ ꯄꯤꯅꯕꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯕꯥ ꯌꯥꯏ꯫ ꯖꯥꯚꯥꯁ꯭ꯛꯔꯤꯞꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯃꯈꯣꯌꯒꯤ ꯇꯣꯒꯂꯤꯡ ꯕꯤꯍꯦꯕꯤꯌꯔ ꯏꯅꯦꯕꯜ ꯇꯧꯅꯕꯥ ꯑꯃꯁꯨꯡ ꯅꯍꯥꯛꯀꯤ ꯕꯇꯅꯁꯤꯡꯒꯤ ꯃꯅꯨꯡꯗꯥ ꯂꯩꯕꯥ s ꯁ꯭ꯇꯥꯏꯜ ꯇꯧꯅꯕꯥ ꯑꯗꯨꯒꯨꯝꯕꯥ ꯃꯣꯗꯤꯐꯥꯏꯗ ꯕꯇꯅꯁꯤꯡ ꯑꯗꯨ ꯌꯥꯑꯣꯕꯥ data-toggle="buttons"
ꯑꯃꯗꯥ ꯍꯥꯄꯆꯤꯜꯂꯨ꯫ ꯅꯍꯥꯛꯅꯥ ꯁꯤꯉ꯭ꯒꯜ ꯏꯅꯄꯨꯠ-ꯄꯥꯋꯔ ꯕꯇꯅꯁꯤꯡ ꯅꯠꯠꯔꯒꯥ ꯃꯈꯣꯌꯒꯤ ꯒ꯭ꯔꯨꯄꯁꯤꯡ ꯁꯦꯝꯕꯥ ꯌꯥꯏ ꯍꯥꯌꯕꯁꯤ ꯈꯪꯖꯤꯅꯕꯤꯌꯨ꯫.btn-group
.btn-group-toggle
<input>
ꯕꯇꯅꯁꯤꯡ ꯑꯁꯤꯒꯤꯗꯃꯛꯇꯥ ꯆꯦꯛ ꯇꯧꯔꯕꯥ ꯁ꯭ꯇꯦꯠ ꯑꯗꯨ ꯕꯇꯟ ꯑꯗꯨꯗꯥ ꯂꯩꯕꯥ ꯏꯚꯦꯟꯇꯀꯤ ꯈꯨꯠꯊꯥꯡꯗꯥ ꯈꯛꯇꯃꯛ ꯑꯄꯗꯦꯠclick
ꯇꯧꯏ꯫ ꯀꯔꯤꯒꯨꯝꯕꯥ ꯅꯍꯥꯛꯅꯥ ꯏꯅꯄꯨꯠ ꯑꯗꯨ ꯑꯄꯗꯦꯠ ꯇꯧꯅꯕꯥ ꯑꯇꯣꯞꯄꯥ ꯃꯦꯊꯗ ꯑꯃꯥ ꯁꯤꯖꯤꯟꯅꯔꯕꯗꯤ-ꯈꯨꯗꯝ ꯑꯣꯏꯅꯥ, <input type="reset">
ꯏꯅꯄꯨꯠꯀꯤ ꯄ꯭ꯔꯣꯄꯔꯇꯤ ꯑꯗꯨ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯗꯨꯅꯥ ꯅꯠꯠꯔꯒꯥ ꯃꯦꯅꯨꯑꯦꯜ ꯑꯣꯏꯅꯥ ꯑꯦꯞꯂꯥꯏ ꯇꯧꯗꯨꯅꯥ-ꯅꯍꯥꯛꯅꯥ ꯃꯦꯅꯨꯑꯦꯜ checked
ꯑꯣꯏꯅꯥ ꯇꯣꯒꯜ .active
ꯇꯧꯕꯥ ꯃꯊꯧ ꯇꯥꯒꯅꯤ꯫<label>
ꯄ꯭ꯔꯤ-ꯆꯦꯛ ꯇꯧꯔꯕꯥ ꯕꯇꯅꯁꯤꯡꯅꯥ ꯅꯍꯥꯛꯅꯥ .active
ꯀ꯭ꯂꯥꯁ ꯑꯗꯨ ꯏꯅꯄꯨꯠꯀꯤ <label>
.
<div class="btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="checkbox" checked> Checked
</label>
</div>
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" checked> Active
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option2"> Radio
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option3"> Radio
</label>
</div>
ꯄꯥꯝꯕꯩꯁꯤꯡ꯫
ꯊꯧꯑꯪꯡ | ꯋꯥꯔꯣꯜ |
---|---|
$().button('toggle') |
ꯄꯨꯁ ꯁ꯭ꯇꯦꯠ ꯇꯣꯒꯜ ꯇꯧꯏ꯫ ꯕꯇꯟ ꯑꯗꯨꯗꯥ ꯃꯁꯤ ꯑꯦꯛꯇꯤꯕ ꯑꯣꯏꯔꯦ ꯍꯥꯌꯕꯒꯤ ꯃꯑꯣꯡ ꯑꯗꯨ ꯄꯤꯔꯤ꯫ |
$().button('dispose') |
ꯑꯦꯂꯤꯃꯦꯟꯇ ꯑꯃꯒꯤ ꯕꯇꯟ ꯑꯃꯥ ꯃꯥꯡꯍꯜꯂꯤ꯫ |