2
I wonder how I can add a spacing between the selects
, for better understanding see the image down below:
I tried with css:
.col-md-4 {margin-bottom: 5px;}
But it got weird, man code html
currently is like this:
<div class="form-group">
<div class="row">
<div class="col-md-4">
<select name="dia" class="form-control">
<option>Selecione o dia</option>
</select>
</div>
<div class="col-md-4">
<select name="mes" class="form-control">
<option>Selecione o mes</option>
</select>
</div>
<div class="col-md-4">
<select name="ano" class="form-control">
<option>Selecione o ano</option>
</select>
</div>
</div>
</div>
I await answers []’s
Personal opinion: I don’t like to use the bootstrap with all its features, I only use it as a grid. It would even be more "clean" if you only used one
div
to determine the column and form elements, since they are below each other, assign awidth: 100%
.– Ricardo