]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use secondary buttons instead of primary ones for a bit better example of styles
authorMark Otto <markdotto@gmail.com>
Mon, 13 Feb 2017 01:15:16 +0000 (17:15 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 13 Feb 2017 01:15:16 +0000 (17:15 -0800)
docs/components/buttons.md

index fdec395deb306ef60f92ba3689dce5c0d003bbaf..7f701d90a393085163b3d9721152ad437c5d586a 100644 (file)
@@ -151,13 +151,13 @@ Note that pre-checked buttons require you to manually add the `.active` class to
 
 {% example html %}
 <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)
   </label>
-  <label class="btn btn-primary">
+  <label class="btn btn-secondary">
     <input type="checkbox" autocomplete="off"> Checkbox 2
   </label>
-  <label class="btn btn-primary">
+  <label class="btn btn-secondary">
     <input type="checkbox" autocomplete="off"> Checkbox 3
   </label>
 </div>
@@ -165,13 +165,13 @@ Note that pre-checked buttons require you to manually add the `.active` class to
 
 {% example html %}
 <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)
   </label>
-  <label class="btn btn-primary">
+  <label class="btn btn-secondary">
     <input type="radio" name="options" id="option2" autocomplete="off"> Radio 2
   </label>
-  <label class="btn btn-primary">
+  <label class="btn btn-secondary">
     <input type="radio" name="options" id="option3" autocomplete="off"> Radio 3
   </label>
 </div>