"filtro-flex"
Bootstrap 3.3.0 Snippet by Avuenja

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> <div class="col-md-12"> <form class="form-inline form-filtro"> <div class="form-group"> <label class="sr-only" for="filtro-data-inicial">Data inicial</label> <input type="date" class="form-control" id="filtro-data-inicial"> </div> <div class="form-group"> <label class="sr-only" for="filtro-data-final">Data final</label> <input type="date" class="form-control" id="filtro-data-final"> </div> <div class="form-group"> <label class="sr-only" for="filtro-tipo">Tipo</label> <select class="form-control" id="filtro-tipo"> <option value="">Tipo</option> <option value="">Receita</option> <option value="">Despesa</option> </select> </div> <div class="form-group"> <label class="sr-only" for="filtro-conta">Conta</label> <select class="form-control" id="filtro-conta"> <option value="">Conta</option> </select> </div> <div class="form-group"> <label class="sr-only" for="filtro-categoria">Categoria</label> <select class="form-control" id="filtro-categoria"> <option value="">Categoria</option> </select> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">Filtrar</button> <button type="reset" class="btn btn-default">Limpar</button> </div> </form> </div> </div> </div>
.form-filtro { display: flex; align-items: center; flex-wrap: wrap; } .form-filtro .form-group { flex-grow: 1; padding: 0 5px 0 0; flex-basis: 10%; } .form-filtro .form-control { width: 100%; } .form-filtro .form-nowrap { white-space: nowrap; }

Related: See More


Questions / Comments: