mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
use secondary buttons instead of primary ones for a bit better example of styles
This commit is contained in:
@@ -151,13 +151,13 @@ Note that pre-checked buttons require you to manually add the `.active` class to
|
|||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-secondary active">
|
||||||
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
|
<input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-secondary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 2
|
<input type="checkbox" autocomplete="off"> Checkbox 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-secondary">
|
||||||
<input type="checkbox" autocomplete="off"> Checkbox 3
|
<input type="checkbox" autocomplete="off"> Checkbox 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@@ -165,13 +165,13 @@ Note that pre-checked buttons require you to manually add the `.active` class to
|
|||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<div class="btn-group" data-toggle="buttons">
|
<div class="btn-group" data-toggle="buttons">
|
||||||
<label class="btn btn-primary active">
|
<label class="btn btn-secondary active">
|
||||||
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
<input type="radio" name="options" id="option1" autocomplete="off" checked> Radio 1 (preselected)
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-secondary">
|
||||||
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
<input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-secondary">
|
||||||
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
<input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user