There is a gap between the text boxesIn the first row, I used text boxes with labels. When I use a text box with a label, the text box is attached to the text box in the first row. I tried using a break line
but in mobile view, there is a gap showing between the text boxes from the first row to the second row text boxes. Instead of a break line, these text boxes are being used in an accordion.
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading" style="background-color: #b3daff;">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion"
href="#collapseFour"> <span style="font-weight: 700;">Banking
Details</span> <span class="glyphicon glyphicon-plus"
style="color: darkred"> </span>
</a>
</h4>
</div>
<div id="collapseFour" class="panel-collapse collapse">
<div class="panel-body">
<div class="col-sm-4 col-md-6">
<div class="row">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">Bank
Name</label>
<div class="col-md-12">
<input type="text" class="form-control" id="fname" required
placeholder="Bank Name" />
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-6">
<div class="row">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">Account
Number </label>
<div class="col-md-12">
<input type="text" class="form-control" id="fname" required
placeholder="Account Number" />
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-6">
<div class="row">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">IFSC
CODE </label>
<div class="col-md-12">
<input type="text" class="form-control" id="fname" required
placeholder="IFSC CODE" />
</div>
</div>
</div>
</div>
<div class="col-sm-4 col-md-6">
<div class="row" style="visibility: hidden">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">IFSC
CODE </label>
<div class="col-md-12">
<input type="text" class="form-control" id="fname" required
placeholder="IFSC CODE" />
</div>
</div>
</div>
</div>
<br /><br /><br /><br />
<div class="col-sm-4 col-md-12">
<div class="row">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">Bank
Address </label>
</div>
</div>
</div>
<div class="col-sm-4 col-md-12">
<div class="row">
<div class="form-group">
<label class="control-label col-sm-12 col-md-8">Address
Line 1 </label>
<div class="col-md-12">
<textarea class="form-control" id="fname" required
placeholder="Address Line 1" ></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!----Ends second column-------->
</div>