When the page is expanded it works perfectly, but the moment I resize to the size of a cell phone it breaks the way I want, but focus is only working for the last field.
Using Bootstrap v3.2.0
What did I do wrong?
HTML:
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<div class="col-md-3">
<label class="display-label alinhamentoLabel">Razão Social</label>
<input type="text" name="razao_social" id="razao_social" placeholder="RAZÃO SOCIAL" required
value="" class="col-xs-12 col-sm-12 col-md-12"/>
</div>
<div class="col-md-3">
<label class="display-label alinhamentoLabel">Nome Fantasia</label>
<input type="text" name="nome_fantasia" id="nome_fantasia" placeholder="NOME FANTASIA" required
value="" class="col-xs-12 col-sm-12 col-md-12"/>
</div>
<div class="col-md-3">
<label class="display-label alinhamentoLabel">CNPJ/CPF</label>
<input type="text" name="cnpj_cpf" id="cnpj_cpf" placeholder="CNPJ/CPF" required
value="" class="col-xs-12 col-sm-12 col-md-12"/>
</div>
<div class="col-md-3">
<label class="display-label alinhamentoLabel">Inscrição Estadual</label>
<input type="text" name="inscricao_estadual" id="inscricao_estadual" placeholder="INSCRIÇÃO ESTADUAL"
value="" class="col-xs-12 col-sm-12 col-md-12"/>
</div>
</div>
</div>
</div>
</div>