1.1 --- a/bootstrap-source/bootstrap-3.0.3/examples/grid/index.html Sat Jan 18 12:34:36 2014 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,148 +0,0 @@
1.4 -<!DOCTYPE html>
1.5 -<html lang="en">
1.6 - <head>
1.7 - <meta charset="utf-8">
1.8 - <meta http-equiv="X-UA-Compatible" content="IE=edge">
1.9 - <meta name="viewport" content="width=device-width, initial-scale=1.0">
1.10 - <meta name="description" content="">
1.11 - <meta name="author" content="">
1.12 - <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
1.13 -
1.14 - <title>Grid Template for Bootstrap</title>
1.15 -
1.16 - <!-- Bootstrap core CSS -->
1.17 - <link href="../../dist/css/bootstrap.css" rel="stylesheet">
1.18 -
1.19 - <!-- Custom styles for this template -->
1.20 - <link href="grid.css" rel="stylesheet">
1.21 -
1.22 - <!-- Just for debugging purposes. Don't actually copy this line! -->
1.23 - <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
1.24 -
1.25 - <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
1.26 - <!--[if lt IE 9]>
1.27 - <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
1.28 - <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
1.29 - <![endif]-->
1.30 - </head>
1.31 -
1.32 - <body>
1.33 - <div class="container">
1.34 -
1.35 - <div class="page-header">
1.36 - <h1>Bootstrap grid examples</h1>
1.37 - <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
1.38 - </div>
1.39 -
1.40 - <h3>Three equal columns</h3>
1.41 - <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>
1.42 - <div class="row">
1.43 - <div class="col-md-4">.col-md-4</div>
1.44 - <div class="col-md-4">.col-md-4</div>
1.45 - <div class="col-md-4">.col-md-4</div>
1.46 - </div>
1.47 -
1.48 - <h3>Three unequal columns</h3>
1.49 - <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>
1.50 - <div class="row">
1.51 - <div class="col-md-3">.col-md-3</div>
1.52 - <div class="col-md-6">.col-md-6</div>
1.53 - <div class="col-md-3">.col-md-3</div>
1.54 - </div>
1.55 -
1.56 - <h3>Two columns</h3>
1.57 - <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>
1.58 - <div class="row">
1.59 - <div class="col-md-8">.col-md-8</div>
1.60 - <div class="col-md-4">.col-md-4</div>
1.61 - </div>
1.62 -
1.63 - <h3>Full width, single column</h3>
1.64 - <p class="text-warning">No grid classes are necessary for full-width elements.</p>
1.65 -
1.66 - <hr>
1.67 -
1.68 - <h3>Two columns with two nested columns</h3>
1.69 - <p>Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>
1.70 - <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>
1.71 - <div class="row">
1.72 - <div class="col-md-8">
1.73 - .col-md-8
1.74 - <div class="row">
1.75 - <div class="col-md-6">.col-md-6</div>
1.76 - <div class="col-md-6">.col-md-6</div>
1.77 - </div>
1.78 - </div>
1.79 - <div class="col-md-4">.col-md-4</div>
1.80 - </div>
1.81 -
1.82 - <hr>
1.83 -
1.84 - <h3>Mixed: mobile and desktop</h3>
1.85 - <p>The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>
1.86 - <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>
1.87 - <div class="row">
1.88 - <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
1.89 - <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
1.90 - </div>
1.91 - <div class="row">
1.92 - <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
1.93 - <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
1.94 - <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
1.95 - </div>
1.96 - <div class="row">
1.97 - <div class="col-xs-6">.col-xs-6</div>
1.98 - <div class="col-xs-6">.col-xs-6</div>
1.99 - </div>
1.100 -
1.101 - <hr>
1.102 -
1.103 - <h3>Mixed: mobile, tablet, and desktop</h3>
1.104 - <p></p>
1.105 - <div class="row">
1.106 - <div class="col-xs-12 col-sm-6 col-lg-8">.col-xs-12 .col-sm-6 .col-lg-8</div>
1.107 - <div class="col-xs-6 col-lg-4">.col-xs-6 .col-lg-4</div>
1.108 - </div>
1.109 - <div class="row">
1.110 - <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
1.111 - <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
1.112 - <div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
1.113 - </div>
1.114 -
1.115 - <hr>
1.116 -
1.117 - <h3>Column clearing</h3>
1.118 - <p>Clear floats at specific breakpoints to prevent awkward wrapping with uneven content.</p>
1.119 - <div class="row">
1.120 - <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
1.121 - <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
1.122 -
1.123 - <!-- Add the extra clearfix for only the required viewport -->
1.124 - <div class="clearfix visible-xs"></div>
1.125 -
1.126 - <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
1.127 - <div class="col-xs-6 col-sm-3">.col-xs-6 .col-sm-3</div>
1.128 - </div>
1.129 -
1.130 - <hr>
1.131 -
1.132 - <h3>Offset, push, and pull resets</h3>
1.133 - <p>Reset offsets, pushes, and pulls at specific breakpoints.</p>
1.134 - <div class="row">
1.135 - <div class="col-sm-5 col-md-6">.col-sm-5 .col-md-6</div>
1.136 - <div class="col-sm-5 col-sm-offset-2 col-md-6 col-md-offset-0">.col-sm-5 .col-sm-offset-2 .col-md-6 .col-md-offset-0</div>
1.137 - </div>
1.138 - <div class="row">
1.139 - <div class="col-sm-6 col-md-5 col-lg-6">.col-sm-6 .col-md-5 .col-lg-6</div>
1.140 - <div class="col-sm-6 col-md-5 col-md-offset-2 col-lg-6 col-lg-offset-0">.col-sm-6 .col-md-5 .col-md-offset-2 .col-lg-6 .col-lg-offset-0</div>
1.141 - </div>
1.142 -
1.143 -
1.144 - </div> <!-- /container -->
1.145 -
1.146 -
1.147 - <!-- Bootstrap core JavaScript
1.148 - ================================================== -->
1.149 - <!-- Placed at the end of the document so the pages load faster -->
1.150 - </body>
1.151 -</html>