My goal is to adjust the position of a div based on the visibility of other divs. When the screen size is reduced, the divs stack up and hiding/showing any div automatically makes the stacked up divs show/hide without leaving any blank space, but this behavior does not occur in normal screen sizes (laptop/desktop).
For an example, you can check out this jsbin
If you uncheck any checkbox, I want a row with only one visible div to resize so that it occupies the hidden div as well.
I am currently using a col-md-6 class for the 2x2 divs on the page.
<div class="col-md-6 column" id="1col"> </div>