I have two columns in Twitter bootstrap, they look like this:
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="post">
Something here
</div>
</div>
<div class="col-md-8 col-sm-6 col-xs-12">
<div class="post">
Something here
</div>
</div>
It scales down to full-width perfectly when on xs resolution, but I would like to swap those two columns with each other, so that the second column in the code would be the first column displayed and the first column in the code would be the second column displayed.
I tried using col-xs-pull-12
and col-xs-push-12
but it gave me weird results, columns were absolutely off grid. How can I swap them using bootstrap's classes? I want this to happen only on xs resolution.