I have the following HTML structure:
<div class="col-xs-4">
<div class="form-group">
<label for="vencimentoBolsa">Vencimento:</label>
<input type="text" class="form-control" name="dtVencimento" placeholder="Vencimento" required>
</div>
<div class="form-group">
<label for="volumeBolsa">Volume:</label>
<input type="text" class="form-control" name="volumeBolsa" placeholder="Volume" required>
</div>
<div class="form-group">
<label for="unidadeVolume">Unidade Volume:</label>
<select class="selectpicker" data-size="5" data-live-search="true" data-width="100%" name="unidadeVolume" required>
<option selected disabled>Escolha uma opção</option>
<option>Mililitro</option>
<option>Litro</option>
</select>
</div>
</div>
The previous structure looks like this:
ButIwishitwasthewayitwas:
Ihavetriedtodothefollowing:
<divclass="col-xs-4">
<div class="form-group">
<label for="vencimentoBolsa">Vencimento:</label>
<input type="text" class="form-control" name="dtVencimento" placeholder="Vencimento" required>
</div>
<div class="col-xs-6">
<div class="form-group">
<label for="volumeBolsa">Volume:</label>
<input type="text" class="form-control" name="volumeBolsa" placeholder="Volume" required>
</div>
</div>
<div class="col-xs-6">
<div class="form-group">
<label for="unidadeVolume">Unidade Volume:</label>
<select class="selectpicker" data-size="5" data-live-search="true" data-width="100%" name="unidadeVolume" required>
<option selected disabled>Escolha uma opção</option>
<option>Mililitro</option>
<option>Litro</option>
</select>
</div>
</div>
</div>
But there is a margin on the left and right of the inputs.