Bootstrap Tutorial - Pull and push to reorder columns








The following code shows how to pull and push to reorder columns.

Example

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<script
  src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script
  src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!--from  ww  w  . j  a  v  a2s  .c  o m-->
</head>
<body>
  <div class="container">
      <div class="row">
          <div class="col-xs-9 col-xs-push-3 col1">
              <h1>Pushed Column</h1>
          </div>
          <div class="col-xs-3 col-xs-pull-9 col2">
              <h1>Pulled Column</h1>
          </div>
      </div>
  </div>
</body>
</html>

Click to view the demo