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
1d618795
Commit
1d618795
authored
Mar 25, 2014
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document #13186
parent
ba1790ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
docs/_includes/css/forms.html
docs/_includes/css/forms.html
+23
-1
No files found.
docs/_includes/css/forms.html
View file @
1d618795
...
...
@@ -254,7 +254,7 @@
</div>
{% endhighlight %}
<h4>
Inline checkboxes
</h4>
<h4>
Inline checkboxes
and radios
</h4>
<p>
Use the
<code>
.checkbox-inline
</code>
or
<code>
.radio-inline
</code>
classes on a series of checkboxes or radios for controls that appear on the same line.
</p>
<div
class=
"bs-example"
>
<form
role=
"form"
>
...
...
@@ -268,6 +268,18 @@
<input
type=
"checkbox"
id=
"inlineCheckbox3"
value=
"option3"
>
3
</label>
</form>
<br>
<form
role=
"form"
>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio1"
value=
"option1"
>
1
</label>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio2"
value=
"option2"
>
2
</label>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio3"
value=
"option3"
>
3
</label>
</form>
</div>
<!-- /.bs-example -->
{% highlight html %}
<label
class=
"checkbox-inline"
>
...
...
@@ -279,6 +291,16 @@
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
id=
"inlineCheckbox3"
value=
"option3"
>
3
</label>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio1"
value=
"option1"
>
1
</label>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio2"
value=
"option2"
>
2
</label>
<label
class=
"radio-inline"
>
<input
type=
"radio"
name=
"inlineRadioOptions"
id=
"inlineRadio3"
value=
"option3"
>
3
</label>
{% endhighlight %}
<h3>
Selects
</h3>
...
...
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