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
c20d00cf
Commit
c20d00cf
authored
Sep 06, 2014
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14546 from twbs/address-14541
Address #14541 by tweaking badge docs
parents
f5a05fe9
bb8ca6b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
28 deletions
+12
-28
docs/_includes/components/badges.html
docs/_includes/components/badges.html
+12
-28
No files found.
docs/_includes/components/badges.html
View file @
c20d00cf
...
@@ -5,9 +5,17 @@
...
@@ -5,9 +5,17 @@
<div
class=
"bs-example"
>
<div
class=
"bs-example"
>
<a
href=
"#"
>
Inbox
<span
class=
"badge"
>
42
</span></a>
<a
href=
"#"
>
Inbox
<span
class=
"badge"
>
42
</span></a>
<br><br>
<button
class=
"btn btn-primary"
type=
"button"
>
Messages
<span
class=
"badge"
>
4
</span>
</button>
</div>
</div>
{% highlight html %}
{% highlight html %}
<a
href=
"#"
>
Inbox
<span
class=
"badge"
>
42
</span></a>
<a
href=
"#"
>
Inbox
<span
class=
"badge"
>
42
</span></a>
<button
class=
"btn btn-primary"
type=
"button"
>
Messages
<span
class=
"badge"
>
4
</span>
</button>
{% endhighlight %}
{% endhighlight %}
<h4>
Self collapsing
</h4>
<h4>
Self collapsing
</h4>
...
@@ -26,36 +34,12 @@
...
@@ -26,36 +34,12 @@
<li
role=
"presentation"
><a
href=
"#"
>
Profile
</a></li>
<li
role=
"presentation"
><a
href=
"#"
>
Profile
</a></li>
<li
role=
"presentation"
><a
href=
"#"
>
Messages
<span
class=
"badge"
>
3
</span></a></li>
<li
role=
"presentation"
><a
href=
"#"
>
Messages
<span
class=
"badge"
>
3
</span></a></li>
</ul>
</ul>
<br>
<ul
class=
"nav nav-pills nav-stacked"
role=
"tablist"
style=
"max-width: 260px;"
>
<li
role=
"presentation"
class=
"active"
>
<a
href=
"#"
>
<span
class=
"badge pull-right"
>
42
</span>
Home
</a>
</li>
<li
role=
"presentation"
><a
href=
"#"
>
Profile
</a></li>
<li
role=
"presentation"
>
<a
href=
"#"
>
<span
class=
"badge pull-right"
>
3
</span>
Messages
</a>
</li>
</ul>
<br>
<button
class=
"btn btn-primary"
type=
"button"
>
Messages
<span
class=
"badge"
>
4
</span>
</button>
</div>
</div>
{% highlight html %}
{% highlight html %}
<ul
class=
"nav nav-pills nav-stacked"
role=
"tablist"
>
<ul
class=
"nav nav-pills"
role=
"tablist"
>
<li
role=
"presentation"
class=
"active"
>
<li
role=
"presentation"
class=
"active"
><a
href=
"#"
>
Home
<span
class=
"badge"
>
42
</span></a></li>
<a
href=
"#"
>
<li
role=
"presentation"
><a
href=
"#"
>
Profile
</a></li>
<span
class=
"badge pull-right"
>
42
</span>
<li
role=
"presentation"
><a
href=
"#"
>
Messages
<span
class=
"badge"
>
3
</span></a></li>
Home
</a>
</li>
...
</ul>
</ul>
{% endhighlight %}
{% endhighlight %}
</div>
</div>
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