mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Split out/clarify `<select>
and
multiple
`
This commit is contained in:
parent
52e4b87b5a
commit
c918127e68
@ -378,7 +378,6 @@
|
||||
{% endhighlight %}
|
||||
|
||||
<h3>Selects</h3>
|
||||
<p>Use the default option, or add <code>multiple</code> to show multiple options at once.</p>
|
||||
<div class="bs-example" data-example-ids="select-form-control">
|
||||
<form>
|
||||
<select class="form-control">
|
||||
@ -388,14 +387,6 @@
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
</select>
|
||||
<br>
|
||||
<select multiple class="form-control">
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
</select>
|
||||
</form>
|
||||
</div><!-- /.bs-example -->
|
||||
{% highlight html %}
|
||||
@ -406,7 +397,23 @@
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
</select>
|
||||
{% endhighlight %}
|
||||
|
||||
<p>For <code><select></code> controls with the <code>multiple</code> attribute, multiple options are shown by default.</p>
|
||||
|
||||
<div class="bs-example" data-example-ids="select-multiple-form-control">
|
||||
<form>
|
||||
<select multiple class="form-control">
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
</select>
|
||||
</form>
|
||||
</div><!-- /.bs-example -->
|
||||
|
||||
{% highlight html %}
|
||||
<select multiple class="form-control">
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
|
Loading…
x
Reference in New Issue
Block a user