Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
19e8342c
Commit
19e8342c
authored
Aug 03, 2013
by
Chris Rebert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust description & give source for nested `.btn-group`s example
parent
a84e07b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
components.html
components.html
+19
-4
No files found.
components.html
View file @
19e8342c
...
@@ -155,12 +155,11 @@ base_url: "../"
...
@@ -155,12 +155,11 @@ base_url: "../"
{% endhighlight %}
{% endhighlight %}
<h3
id=
"btn-groups-nested"
>
Nested button groups
</h3>
<h3
id=
"btn-groups-nested"
>
Nested button groups
</h3>
<p>
Place
buttons groups within button groups
when you want dropdown menus mixed with a series of buttons.
</p>
<p>
Place
a
<code>
.btn-group
</code>
within another
<code>
.btn-group
</code>
when you want dropdown menus mixed with a series of buttons.
</p>
<div
class=
"bs-example"
>
<div
class=
"bs-example"
>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default"
>
1
</button>
<button
type=
"button"
class=
"btn btn-default"
>
1
</button>
<button
type=
"button"
class=
"btn btn-default"
>
2
</button>
<button
type=
"button"
class=
"btn btn-default"
>
2
</button>
<button
type=
"button"
class=
"btn btn-default"
>
3
</button>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default dropdown-toggle"
data-toggle=
"dropdown"
>
<button
type=
"button"
class=
"btn btn-default dropdown-toggle"
data-toggle=
"dropdown"
>
...
@@ -170,11 +169,27 @@ base_url: "../"
...
@@ -170,11 +169,27 @@ base_url: "../"
<ul
class=
"dropdown-menu"
>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Dropdown link
</a></li>
<li><a
href=
"#"
>
Dropdown link
</a></li>
<li><a
href=
"#"
>
Dropdown link
</a></li>
<li><a
href=
"#"
>
Dropdown link
</a></li>
<li><a
href=
"#"
>
Dropdown link
</a></li>
</ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{% highlight html %}
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default"
>
1
</button>
<button
type=
"button"
class=
"btn btn-default"
>
2
</button>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<span
class=
"caret"
></span>
</button>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Dropdown link
</a></li>
<li><a
href=
"#"
>
Dropdown link
</a></li>
</ul>
</div>
</div>
{% endhighlight %}
<h3
id=
"btn-groups-vertical"
>
Vertical button groups
</h3>
<h3
id=
"btn-groups-vertical"
>
Vertical button groups
</h3>
<p>
Make a set of buttons appear vertically stacked rather than horizontally.
</p>
<p>
Make a set of buttons appear vertically stacked rather than horizontally.
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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