Below is the grid structure that I am working with
<div class="row">
<div id="A" class="col-md-3">
<div class="alert alert-info">A</div>
</div>
<div id="B" class="col-md-6">
<div class="alert alert-danger">B</div>
</div>
<div id="C" class="col-md-3">
<div class="alert alert-info">C</div>
</div>
</div>
I am looking to display B
first on mobile devices (But on larger devices it should display in the original order) and when in mobile view, all items A
, B
, C
should have equal width. I have attempted the following:
<div class="col-md-3 col-md-push-6">
<div class="alert alert-info">A</div>
</div>
<div class="col-md-6 col-md-pull-3">
<div class="alert alert-danger">B</div>
</div>
<div class="col-md-3">
<div class="alert alert-info">C</div>
</div>
I have tried various combinations without success
Display on a large screen like a desktop
https://i.sstatic.net/I62Bi.jpg
Display on a mobile device