To achieve this, make use of the
pull push classes offered by Bootstrap
. It is also beneficial to familiarize yourself with the
col-*-offset-*
classes.
If you want to delve deeper into this topic, visit:
Official Twitter bootstrap documentation
Here's an illustrative example for better understanding:
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<div class="row">
<div class="col-xs-12 col-md-12 col-lg-4 col-lg-push-4" style="height: 100px; background-color: red;">
2
</div>
<div class="col-xs-12 col-md-6 col-lg-4 col-lg-pull-4" style="height: 100px; background-color: blue;">
1
</div>
<div class="col-xs-12 col-md-6 col-lg-4" style="height: 100px; background-color: green;">
3
</div>
</div>