I have a form with two columns arranged like this on desktop view
|A|B|
|C|D|
|E|F|
However, on mobile, I want it to look like this
|A|
|B|
|C|
|D|
|E|
|F|
Unfortunately, I'm currently seeing
|A|
|C|
|E|
|B|
|D|
|F|
This is the structure of my code:
<div class="row">
<div class="col-12 col-md-6">
<input> <!-- A -->
<input> <!-- C -->
<input> <!-- D -->
</div>
<div class="col-12 col-md-6 ">
<input> <!-- B -->
<input> <!-- D -->
<input> <!-- F -->
</div>
</div>
Could you please assist me in resolving this issue?