Can someone help me with the html to reorder columns below using bootstrap 3:
----- ----- -----
| 1 | 2 | 3 |
----- ----- -----
To this:
-----
| 2 |
-----
| 1 |
-----
| 3 |
-----
I know this has something to do with push/pull I just cant to seem to get it right.
Edit
And som code that i can't get to work:
<div class="row">
<div class="col-md-8 col-xs-12">2</div>
<div class="col-md-2 col-xs-12 col-md-push-2">1</div>
<div class="col-md-8 col-xs-12 col-md-pull-2">3</div>
</div>
On mobile it looks good but not on desktop.
Solution
<div class="row">
<div class="col-md-8 col-xs-12 col-md-push-2">2</div>
<div class="col-md-2 col-xs-12 col-md-pull-8">1</div>
<div class="col-md-8 col-xs-12">3</div>
</div>