How come the select
element within an input-group doesn't render similarly to the input
element?
I would like the height of the select
element to be relative to the input-group
.
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" rel="stylesheet"/>
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-addon">
<button type="submit" class="btn btn-info">
<i class="fa fa-3x fa-search" aria-hidden="true"></i>
</button>
</span>
</div>
<br>
<div class="input-group">
<select class="form-control">
<option>
Option 1
</option>
</select>
<span class="input-group-addon">
<button type="submit" class="btn btn-info">
<i class="fa fa-3x fa-search" aria-hidden="true"></i>
</button>
</span>
</div>
Thank you very much :)