I am attempting to hide a checkbox input in the middle of some column elements using Bootstrap 4.
<div class="container">
<div class="row">
<a class="col-2">
1 of 2
</a>
<input type="checkbox" class="invisible" >
<input type="text" class="col-10" value="2 of 2">
</div>
</div>
Even though I applied the invisible
class, the checkbox is not visible but still takes up space of 13px.
https://i.sstatic.net/nkBLS.png
https://i.sstatic.net/xi44X.png
Is there a way to use column elements to fill the row with a hidden element in the center?
Here is an example of what my current setup looks like: https://jsfiddle.net/j6h93rve/1/
And here is what I am aiming for: https://jsfiddle.net/fybmkp7e/