]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove nested .bd-example
authorMark Otto <markdotto@gmail.com>
Fri, 17 Apr 2015 21:24:11 +0000 (14:24 -0700)
committerMark Otto <markdotto@gmail.com>
Fri, 17 Apr 2015 21:24:11 +0000 (14:24 -0700)
docs/components/buttons.md

index 9d2cc1a3ca74a9d02b813e1e626c9eee0f75b89a..79777e4ca3fbd713e2bdc7fb8ca41c839e78f45f 100644 (file)
@@ -169,18 +169,16 @@ The checked state for these buttons is **only updated via `click` event** on the
 Note that pre-checked buttons require you to manually add the `.active` class to the input's `<label>`.
 
 {% example html %}
-<div class="bd-example">
-  <div class="btn-group" data-toggle="buttons">
-    <label class="btn btn-primary active">
-      <input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
-    </label>
-    <label class="btn btn-primary">
-      <input type="checkbox" autocomplete="off"> Checkbox 2
-    </label>
-    <label class="btn btn-primary">
-      <input type="checkbox" autocomplete="off"> Checkbox 3
-    </label>
-  </div>
+<div class="btn-group" data-toggle="buttons">
+  <label class="btn btn-primary active">
+    <input type="checkbox" checked autocomplete="off"> Checkbox 1 (pre-checked)
+  </label>
+  <label class="btn btn-primary">
+    <input type="checkbox" autocomplete="off"> Checkbox 2
+  </label>
+  <label class="btn btn-primary">
+    <input type="checkbox" autocomplete="off"> Checkbox 3
+  </label>
 </div>
 {% endexample %}