Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
7f3c85ec
Commit
7f3c85ec
authored
9 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
remove nested .bd-example
parent
8b93787f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/components/buttons.md
+10
-12
docs/components/buttons.md
with
10 additions
and
12 deletions
+10
-12
docs/components/buttons.md
+
10
-
12
View file @
7f3c85ec
...
...
@@ -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 %}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment