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
7b7a0254
Commit
7b7a0254
authored
Aug 18, 2012
by
Erik van der Kolk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve doc for block level buttons
parent
41253fb0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
docs/base-css.html
docs/base-css.html
+5
-2
docs/templates/pages/base-css.mustache
docs/templates/pages/base-css.mustache
+5
-2
No files found.
docs/base-css.html
View file @
7b7a0254
...
@@ -1500,11 +1500,14 @@ For example, <code>section</code> should be wrapped as inline.
...
@@ -1500,11 +1500,14 @@ For example, <code>section</code> should be wrapped as inline.
<p>
Create block level buttons
—
those that span the full width of a parent
—
by adding
<code>
.btn-block
</code>
.
</p>
<p>
Create block level buttons
—
those that span the full width of a parent
—
by adding
<code>
.btn-block
</code>
.
</p>
<div
class=
"bs-docs-example"
>
<div
class=
"bs-docs-example"
>
<div
class=
"well"
style=
"max-width: 400px; margin: 0 auto 10px;"
>
<div
class=
"well"
style=
"max-width: 400px; margin: 0 auto 10px;"
>
<button
type=
"button"
class=
"btn btn-large btn-
primary btn-block
"
>
Block level button
</button>
<button
type=
"button"
class=
"btn btn-large btn-
block btn-primary
"
>
Block level button
</button>
<button
type=
"button"
class=
"btn btn-large btn-block"
>
Block level button
</button>
<button
type=
"button"
class=
"btn btn-large btn-block"
>
Block level button
</button>
</div>
</div>
</div>
</div>
<pre
class=
"prettyprint linenums"
>
<
button class="btn btn-large btn-block" type="button"
>
Block level button
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button class="btn btn-large btn-block btn-primary" type="button"
>
Block level button
<
/button
>
<
button class="btn btn-large btn-block" type="button"
>
Block level button
<
/button
>
</pre>
<h2>
Disabled state
</h2>
<h2>
Disabled state
</h2>
...
...
docs/templates/pages/base-css.mustache
View file @
7b7a0254
...
@@ -1437,11 +1437,14 @@
...
@@ -1437,11 +1437,14 @@
<p>
{{
_i
}}
Create block level buttons
—
those that span the full width of a parent
—
by adding
<code>
.btn-block
</code>
.
{{/
i
}}
</p>
<p>
{{
_i
}}
Create block level buttons
—
those that span the full width of a parent
—
by adding
<code>
.btn-block
</code>
.
{{/
i
}}
</p>
<div
class=
"bs-docs-example"
>
<div
class=
"bs-docs-example"
>
<div
class=
"well"
style=
"max-width: 400px; margin: 0 auto 10px;"
>
<div
class=
"well"
style=
"max-width: 400px; margin: 0 auto 10px;"
>
<button
type=
"button"
class=
"btn btn-large btn-
primary btn-block
"
>
{{
_i
}}
Block level button
{{/
i
}}
</button>
<button
type=
"button"
class=
"btn btn-large btn-
block btn-primary
"
>
{{
_i
}}
Block level button
{{/
i
}}
</button>
<button
type=
"button"
class=
"btn btn-large btn-block"
>
{{
_i
}}
Block level button
{{/
i
}}
</button>
<button
type=
"button"
class=
"btn btn-large btn-block"
>
{{
_i
}}
Block level button
{{/
i
}}
</button>
</div>
</div>
</div>
</div>
<pre
class=
"prettyprint linenums"
>
<
button class="btn btn-large btn-block" type="button"
>
{{
_i
}}
Block level button
{{/
i
}}
<
/button
>
</pre>
<pre
class=
"prettyprint linenums"
>
<
button class="btn btn-large btn-block btn-primary" type="button"
>
{{
_i
}}
Block level button
{{/
i
}}
<
/button
>
<
button class="btn btn-large btn-block" type="button"
>
{{
_i
}}
Block level button
{{/
i
}}
<
/button
>
</pre>
<h2>
{{
_i
}}
Disabled state
{{/
i
}}
</h2>
<h2>
{{
_i
}}
Disabled state
{{/
i
}}
</h2>
...
...
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