Align center column using Twitter Bootstrap
home
Run
screen_rotation
fullscreen
cloud_download
navigate_before
<html> <head> <title>Bootstrap Panels</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <style> .center-block {text-align: center !important} </style> </head> <body> <div class="container"> <div class="row" style="border:1px solid gray;"> <div class="col-md-2 col-md-offset-5">I m centered Aligned.</div> </div> </div> </body> </html>
<html> <head> <title>Bootstrap Panels</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <style> .center-block {text-align: center !important} </style> </head> <body> <div class="container"> <div class="row" style="border:1px solid gray;"> <div class="col-md-2 col-md-offset-5">I m centered Aligned.</div> </div> </div> </body> </html>
Copyrights@tutorialsplane.com