1
Was used the class
row
of bootstrap and column settings col-md-*
and col-sm-*
to work:
Sample code:
Visually in the answer has not check, but in a larger region it fits the way you expect.
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<div class="row">
<div class="form-group col-md-12 col-sm-12">
<label for="exampleInputEmail1">CPF</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="CPF">
</div>
</div>
<div class="row">
<div class="form-group col-md-8 col-sm-8">
<label for="exampleInputEmail1">RG</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="RG">
</div>
<div class="form-group col-md-2 col-sm-2">
<label for="exampleInputEmail1">Orgão Expedidor</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Orgão Expedidor">
</div>
<div class="form-group col-md-2 col-sm-2">
<label for="exampleInputEmail1">UF</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="UF">
</div>
</div>
An example in Jsfiddle
Observing: In the documentation link there are other vestments if used on mobile phones and smaller devices.
References:
Post your code.
– viana